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>