blob: 215541ebdb7f79d7fe48c43d7e744c04acde6b9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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.
|