From: Pavel Machek Date: Wed, 17 Oct 2007 06:31:28 +0000 (-0700) Subject: vm.txt: document min_free_pages as critical for correctness X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=24950898ffd161f2ea67c60f398146457bca8bf0;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/Documentation/sysctl/vm.txt b/Documentation/sysctl/vm.txt index 17346da636e7..b89570c30434 100644 --- a/Documentation/sysctl/vm.txt +++ b/Documentation/sysctl/vm.txt @@ -112,6 +112,12 @@ of kilobytes free. The VM uses this number to compute a pages_min 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