Re: [PATCH mmotm] memcg: avoid vmpressure oops when memcg disabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jan 09, 2016 at 05:21:44PM -0800, Hugh Dickins wrote:
> A CONFIG_MEMCG=y kernel booted with "cgroup_disable=memory" crashes on
> a NULL memcg (but non-NULL root_mem_cgroup) when vmpressure kicks in.
> Here's the patch I use to avoid that, but you might prefer a test on
> mem_cgroup_disabled() somewhere.
> 
> Signed-off-by: Hugh Dickins <hughd@xxxxxxxxxx>

Thanks Hugh. This looks good.

Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]