aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorHugh Dickins <[email protected]>2016-01-14 15:21:37 -0800
committerLinus Torvalds <[email protected]>2016-01-14 16:00:49 -0800
commit686739f6af5e8d5687ffebbf1193ff066aada6d9 (patch)
treeefb5e9dbd6cdc5be2e8072ea81651bc0a13aecdc /net/lapb/lapb_in.c
parentef12947c9c5a96af549c49f10e5503f0612a397c (diff)
memcg: avoid vmpressure oops when memcg disabled
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 <[email protected]> Acked-by: Johannes Weiner <[email protected]> Cc: David S. Miller <[email protected]> Cc: Vladimir Davydov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions