Re: [RFC][PATCH 1/7] defer clearing of page_private() for swap cachepages

From: Dave Hansen
Date: Thu May 09 2013 - 18:19:57 EST


On 05/09/2013 03:07 PM, Seth Jennings wrote:
> mm/memcontrol:4111
> VM_BUG_ON(PageSwapCache(page));
>
> Seems that mem_cgroup_uncharge_swapcache, somewhat ironically expects the
> SwapCache flag to be unset already.
>
> Fix might be a simple as removing that VM_BUG_ON() but there might be more to
> it. There usually is :)

Yeah, I wasn't testing with cgroups around. I'll go do that and see
what I come up with.
--
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/