aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorEzequiel Garcia <[email protected]>2012-10-19 09:33:10 -0300
committerPekka Enberg <[email protected]>2012-10-31 08:50:43 +0200
commit999d8795d438d396936811b185428d70b7b7de6d (patch)
treeb63098f47faa341ec81cb9f07a47b986898d09d9 /tools/perf/scripts/python/event_analyzing_sample.py
parent1b4f59e356cc94929305bd107b7f38eec62715ad (diff)
mm/slob: Drop usage of page->private for storing page-sized allocations
This field was being used to store size allocation so it could be retrieved by ksize(). However, it is a bad practice to not mark a page as a slab page and then use fields for special purposes. There is no need to store the allocated size and ksize() can simply return PAGE_SIZE << compound_order(page). Cc: Pekka Enberg <[email protected]> Cc: Matt Mackall <[email protected]> Acked-by: Christoph Lameter <[email protected]> Signed-off-by: Ezequiel Garcia <[email protected]> Signed-off-by: Pekka Enberg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions