Skip to contentSkip to conversation

vm.txt: document min_free_pages as critical for correctness

PATCH Pavel Machek 1 participant 1 message Oct 4, 2007 Documentation

lore
Share & tools
lore
#0 lore raw

min_free_pages is critical for correctness, document it as such.

index a0ccc5b..e460c19 100644

Documentation/sysctl/vm.txt +6 -0
@@ -111,6 +111,12 @@ of kilobytes free.  The VM uses this num
 value for each lowmem zone in the system.  Each lowmem zone gets 
 a number of reserved free pages based proportionally on its size.
 
+Some minimal ammount of memory is needed to satisfy PF_MEMALLOC
+allocations; if you set this to lower than 1024KB, your system will
+become subtly broken, and prone to deadlock under high loads.
+
+Setting this too high will OOM your machine instantly.
+
 ==============================================================
 
 percpu_pagelist_fraction
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html