diff options
author | Alex Shi <[email protected]> | 2020-12-18 14:01:28 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-12-19 11:18:37 -0800 |
commit | 76358ab547357516ec2dace95ae70c1572d6708c (patch) | |
tree | 42eca6049fdb049c8ffe947e9fdf92bd084a076b /include/linux/mmdebug.h | |
parent | a409ed156a90093a03fe6a93721ddf4c591eac87 (diff) |
mm/memcg: bail early from swap accounting if memcg disabled
Patch series "bail out early for memcg disable".
These 2 patches are indepenedent from per memcg lru lock, and may
encounter unexpected warning, so let's move out them from per memcg
lru locking patchset.
This patch (of 2):
We could bail out early when memcg wasn't enabled.
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Alex Shi <[email protected]>
Reviewed-by: Roman Gushchin <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Acked-by: Hugh Dickins <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Cc: Vladimir Davydov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/mmdebug.h')
0 files changed, 0 insertions, 0 deletions