summaryrefslogtreecommitdiff
path: root/Documentation/ABI/testing/sysfs-kernel-mm-frontswap
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/ABI/testing/sysfs-kernel-mm-frontswap')
-rw-r--r--Documentation/ABI/testing/sysfs-kernel-mm-frontswap16
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-kernel-mm-frontswap b/Documentation/ABI/testing/sysfs-kernel-mm-frontswap
new file mode 100644
index 000000000000..215541ebdb7f
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-kernel-mm-frontswap
@@ -0,0 +1,16 @@
+What: /sys/kernel/mm/frontswap/
+Date: June 2010
+Contact: Dan Magenheimer <dan.magenheimer@oracle.com>
+Description:
+ /sys/kernel/mm/frontswap/ contains a number of files which
+ record a count of various frontswap operations (sum across
+ all swap devices):
+ succ_puts
+ failed_puts
+ gets
+ flushes
+ In addition, reading the curr_pages file shows how many
+ pages are currently contained in frontswap and writing this
+ file with an integer performs a "partial swapoff", reducing
+ the number of frontswap pages to that integer if memory
+ constraints permit.