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>