diff options
author | Roman Gushchin <[email protected]> | 2020-10-17 16:13:47 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-10-18 09:27:09 -0700 |
commit | 67f0286498d7486a9c35f081df1dffe2ffcd02b9 (patch) | |
tree | 0e0e0c32038e33a27215a2590c6cf9b07c8913eb /scripts/gdb/linux/tasks.py | |
parent | 279c3393e2c113365c999f16cd096bcf3d34319e (diff) |
mm: kmem: remove redundant checks from get_obj_cgroup_from_current()
There are checks for current->mm and current->active_memcg in
get_obj_cgroup_from_current(), but these checks are redundant:
memcg_kmem_bypass() called just above performs same checks.
Signed-off-by: Roman Gushchin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Reviewed-by: Shakeel Butt <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Michal Hocko <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions