aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorNaoya Horiguchi <[email protected]>2015-04-15 16:14:35 -0700
committerLinus Torvalds <[email protected]>2015-04-15 16:35:19 -0700
commit822fc61367f062d36c5b5a4d517e9bd2b65a741f (patch)
tree01e85731a4d8b4e4f9252d9e6e2e6a8e597d05ff /tools/perf/scripts/python/check-perf-trace.py
parent9fcd145717e6496d0c376acb1a5cc551a716c305 (diff)
mm: don't call __page_cache_release for hugetlb
__put_compound_page() calls __page_cache_release() to do some freeing work, but it's obviously for thps, not for hugetlb. We don't care because PageLRU is always cleared and page->mem_cgroup is always NULL for hugetlb. But it's not correct and has potential risks, so let's make it conditional. Signed-off-by: Naoya Horiguchi <[email protected]> Cc: Hugh Dickins <[email protected]> Reviewed-by: Michal Hocko <[email protected]> Cc: Mel Gorman <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: David Rientjes <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions