mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 05:32:00 +00:00
mm/page_alloc: fix documentation error
When I increased the upper bound of the min_free_kbytes value in
ee8eb9a5fe
("mm/page_alloc: increase default min_free_kbytes bound") I
forgot to tweak the above comment to reflect the new value. This patch
fixes that mistake.
Signed-off-by: Joel Savitz <jsavitz@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Rafael Aquini <aquini@redhat.com>
Cc: Fabrizio D'Angelo <fdangelo@redhat.com>
Link: http://lkml.kernel.org/r/20200624221236.29560-1-jsavitz@redhat.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
a3a66c3822
commit
8beeae86b8
@ -7832,7 +7832,7 @@ void setup_per_zone_wmarks(void)
|
||||
* Initialise min_free_kbytes.
|
||||
*
|
||||
* For small machines we want it small (128k min). For large machines
|
||||
* we want it large (64MB max). But it is not linear, because network
|
||||
* we want it large (256MB max). But it is not linear, because network
|
||||
* bandwidth does not increase linearly with machine size. We use
|
||||
*
|
||||
* min_free_kbytes = 4 * sqrt(lowmem_kbytes), for better accuracy:
|
||||
|
Loading…
Reference in New Issue
Block a user