History

mm/page_alloc: fix documentation error

When I increased the upper bound of the min_free_kbytes value in ee8eb9a5fe863 ("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.

Joel Savitz committed 6 years ago

Commit 8beeae81 parent a3a66c31 file · +1 −1Browse files

Unified · Split

mm/page_alloc.c+1−1
@@ -7832,7 +7832,7 @@ void setup_per_zone_wmarks(void) · 7831 unmodified lines
7832 * Initialise min_free_kbytes.7832 * Initialise min_free_kbytes.
7833 *7833 *
7834 * For small machines we want it small (128k min). For large machines7834 * For small machines we want it small (128k min). For large machines
7835 * we want it large (64MB max). But it is not linear, because network7835 * we want it large (256MB max). But it is not linear, because network
7836 * bandwidth does not increase linearly with machine size. We use7836 * bandwidth does not increase linearly with machine size. We use
7837 *7837 *
7838 * min_free_kbytes = 4 * sqrt(lowmem_kbytes), for better accuracy:7838 * min_free_kbytes = 4 * sqrt(lowmem_kbytes), for better accuracy: