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.
Unified · Split
| @@ -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 machines | 7834 | * 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 network | 7835 | * we want it large (256MB max). But it is not linear, because network |
| 7836 | * bandwidth does not increase linearly with machine size. We use | 7836 | * 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: |