forked from Minki/linux
c00ed16a9e
Change the "enabled" parameter to be configurable at runtime. Remove the enabled check from init(), and move it to the frontswap store() function; when enabled, pages will be stored, and when disabled, pages won't be stored. This is almost identical to Seth's patch from 2 years ago: http://lkml.iu.edu/hypermail/linux/kernel/1307.2/04289.html [akpm@linux-foundation.org: tweak documentation] Signed-off-by: Dan Streetman <ddstreet@ieee.org> Suggested-by: Seth Jennings <sjennings@variantweb.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
.gitignore | ||
00-INDEX | ||
active_mm.txt | ||
balance | ||
cleancache.txt | ||
frontswap.txt | ||
highmem.txt | ||
hugetlbpage.txt | ||
hwpoison.txt | ||
ksm.txt | ||
numa | ||
numa_memory_policy.txt | ||
overcommit-accounting | ||
page_migration | ||
page_owner.txt | ||
pagemap.txt | ||
remap_file_pages.txt | ||
slub.txt | ||
soft-dirty.txt | ||
split_page_table_lock | ||
transhuge.txt | ||
unevictable-lru.txt | ||
zsmalloc.txt | ||
zswap.txt |