Re: [PATCH] tmpfs: Insert tmpfs cache pages to inactive list at first

From: Rik van Riel
Date: Wed May 19 2010 - 14:48:17 EST

On 05/19/2010 04:44 AM, KOSAKI Motohiro wrote:
Shaohua Li reported parallel file copy on tmpfs can lead to
OOM killer. This is regression of caused by commit 9ff473b9a7
(vmscan: evict streaming IO first). Wow, It is 2 years old patch!

Thus, now we can use lru_cache_add_anon() instead.

Reported-by: Shaohua Li<>
Cc: Wu Fengguang<fengguang.wu@xxxxxxxxx>
Cc: Johannes Weiner<hannes@xxxxxxxxxxx>
Cc: Rik van Riel<riel@xxxxxxxxxx>
Cc: Minchan Kim<>
Cc: Hugh Dickins<hughd@xxxxxxxxxx>
Signed-off-by: KOSAKI Motohiro<kosaki.motohiro@xxxxxxxxxxxxxx>

Reviewed-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
Please read the FAQ at