aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorXiao Guangrong <[email protected]>2012-10-08 16:29:46 -0700
committerLinus Torvalds <[email protected]>2012-10-09 16:22:26 +0900
commit9817626e722a5e5699cf38f5d3a4c9851e054436 (patch)
treef8826ef7cf4182a963350d421991f2f3b26a30d9 /tools/perf/scripts/python
parent2017c0bff8ba79ea527361adbe19471e174775d6 (diff)
thp: remove some code depend on CONFIG_NUMA
If NUMA is disabled, hpage is used as page pre-alloc, so there are two cases for hpage: - it is !NULL, means the page is not consumed otherwise, - the page has been consumed If NUMA is enabled, hpage is just used as alloc-fail indicator which is not a real page, NULL means not fail triggered. So, we can release the page only if !IS_ERR_OR_NULL Signed-off-by: Xiao Guangrong <[email protected]> Cc: Andrea Arcangeli <[email protected]> Cc: Hugh Dickins <[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')
0 files changed, 0 insertions, 0 deletions