Re: [PATCH] splitlru: shmem_getpage SetPageSwapBacked sooner
- Date: Sun, 29 Jun 2008 17:09:50 +0900
- From: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>
- Subject: Re: [PATCH] splitlru: shmem_getpage SetPageSwapBacked sooner
> 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/