Skip to content

Commit 2495089

Browse files
pavelmachekLinus Torvalds
authored andcommitted
vm.txt: document min_free_pages as critical for correctness
min_free_pages is critical for correctness, document it as such. Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent f4e8757 commit 2495089

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎Documentation/sysctl/vm.txt‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,12 @@ of kilobytes free. The VM uses this number to compute a pages_min
112112
value for each lowmem zone in the system. Each lowmem zone gets
113113
a number of reserved free pages based proportionally on its size.
114114

115+
Some minimal ammount of memory is needed to satisfy PF_MEMALLOC
116+
allocations; if you set this to lower than 1024KB, your system will
117+
become subtly broken, and prone to deadlock under high loads.
118+
119+
Setting this too high will OOM your machine instantly.
120+
115121
==============================================================
116122

117123
percpu_pagelist_fraction

0 commit comments

Comments
 (0)