Re: [PATCH] Subtract min_free_kbytes from dirtyable memory

From: Rik van Riel
Date: Mon Jan 21 2013 - 12:49:29 EST


On 01/20/2013 10:15 PM, paul.szabo@xxxxxxxxxxxxx wrote:
When calculating amount of dirtyable memory, min_free_kbytes should be
subtracted because it is not intended for dirty pages.

Using an "extern int" because that is the only interface to some such
sysctl values.

(This patch does not solve the PAE OOM issue.)

Paul Szabo psz@xxxxxxxxxxxxxxxxx http://www.maths.usyd.edu.au/u/psz/
School of Mathematics and Statistics University of Sydney Australia

Reported-by: Paul Szabo <psz@xxxxxxxxxxxxxxxxx>
Reference: http://bugs.debian.org/695182
Signed-off-by: Paul Szabo <psz@xxxxxxxxxxxxxxxxx>

Acked-by: Rik van Riel <riel@xxxxxxxxxx>


--
All rights reversed
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/