Re: [PATCH] tmpfs not interleaving properly

From: Rik van Riel
Date: Wed May 23 2012 - 16:04:16 EST


On 05/23/2012 09:28 AM, Nathan Zimmer wrote:

When tmpfs has the memory policy interleaved it always starts allocating at each file at node 0.
When there are many small files the lower nodes fill up disproportionately.
My proposed solution is to start a file at a randomly chosen node.

Cc: Christoph Lameter<cl@xxxxxxxxx>
Cc: Nick Piggin<npiggin@xxxxxxxxx>
Cc: Hugh Dickins<hughd@xxxxxxxxxx>
Cc: Lee Schermerhorn<lee.schermerhorn@xxxxxx>
Cc: stable@xxxxxxxxxxxxxxx
Signed-off-by: Nathan T Zimmer<nzimmer@xxxxxxx>

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

--
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/