aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSergei Rogachev <[email protected]>2015-02-11 15:28:34 -0800
committerLinus Torvalds <[email protected]>2015-02-11 17:06:07 -0800
commit94f759d62b2c6a9d124b0622077b1ddcfac43fb5 (patch)
tree962eb704c95c064dbfcdd59b4033f490c4ede34a /tools/perf/scripts/python/export-to-postgresql.py
parent740a5ddb0e0d2ef3bd0a80ae027bf9d211b8c82d (diff)
mm/page_owner.c: remove unnecessary stack_trace field
Page owner uses the page_ext structure to keep meta-information for every page in the system. The structure also contains a field of type 'struct stack_trace', page owner uses this field during invocation of the function save_stack_trace. It is easy to notice that keeping a copy of this structure for every page in the system is very inefficiently in terms of memory. The patch removes this unnecessary field of page_ext and forces page owner to use a stack_trace structure allocated on the stack. [[email protected]: use struct initializers] Signed-off-by: Sergei Rogachev <[email protected]> Acked-by: Joonsoo Kim <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions