summaryrefslogtreecommitdiff
path: root/util-linux/Config.src
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/Config.src')
-rw-r--r--util-linux/Config.src9
1 files changed, 9 insertions, 0 deletions
diff --git a/util-linux/Config.src b/util-linux/Config.src
index 5a8b006..c1cd6da 100644
--- a/util-linux/Config.src
+++ b/util-linux/Config.src
@@ -599,6 +599,15 @@ config SWAPONOFF
space. If you are not using any swap space, you can leave this
option disabled.
+config FEATURE_SWAPON_DISCARD
+ bool "Support discard option -d"
+ default y
+ depends on SWAPONOFF
+ help
+ Enable support for discarding swap area blocks at swapon and/or as
+ the kernel frees them. This option enables both the -d option on
+ 'swapon' and the 'discard' option for swap entries in /etc/fstab.
+
config FEATURE_SWAPON_PRI
bool "Support priority option -p"
default y