aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorTejun Heo <[email protected]>2015-11-05 18:46:14 -0800
committerLinus Torvalds <[email protected]>2015-11-05 19:34:48 -0800
commitcbfb479809c1b8d871cb9a31832e065e900a24c1 (patch)
tree5c349d5b3c1e08ad23ef24365656e16cb553fa3b /tools/perf/scripts/python/net_dropmonitor.py
parentb23afb93d317c65cef553b804f08dec8a7a0f7e1 (diff)
memcg: collect kmem bypass conditions into __memcg_kmem_bypass()
memcg_kmem_newpage_charge() and memcg_kmem_get_cache() are testing the same series of conditions to decide whether to bypass kmem accounting. Collect the tests into __memcg_kmem_bypass(). This is pure refactoring. Signed-off-by: Tejun Heo <[email protected]> Reviewed-by: Vladimir Davydov <[email protected]> Acked-by: Michal Hocko <[email protected]> Cc: Johannes Weiner <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions