Re: [PATCH] splitlru: shmem_getpage SetPageSwapBacked sooner

From: KOSAKI Motohiro
Date: Sun Jun 29 2008 - 04:11:17 EST


> shmem_getpage must SetPageSwapBacked before the mem_cgroup_cache_charge,
> otherwise try_to_free_mem_cgroup_pages cannot find the shmem/tmpfs pages
> it needs to free, and OOMs result.
>
> Signed-off-by: Hugh Dickins <hugh@xxxxxxxxxxx>

it seems makes sense.

Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>


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