summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJane Chu <jane.chu@oracle.com>2019-12-01 04:53:35 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2019-12-01 23:59:04 +0300
commit996ff7a08dae591f5e87852281477d26a83b393c (patch)
tree44b21e60e6c5d0a77403145a84541feb9d3cc343 /tools/perf/scripts/python/export-to-sqlite.py
parent2e53c4e1c807d91dc7241c2104e69ad9d2c71e48 (diff)
downloadlinux-996ff7a08dae591f5e87852281477d26a83b393c.tar.xz
mm/memory-failure.c clean up around tk pre-allocation
add_to_kill() expects the first 'tk' to be pre-allocated, it makes subsequent allocations on need basis, this makes the code a bit difficult to read. Move all the allocation internal to add_to_kill() and drop the **tk argument. Link: http://lkml.kernel.org/r/1565112345-28754-2-git-send-email-jane.chu@oracle.com Signed-off-by: Jane Chu <jane.chu@oracle.com> Reviewed-by: Dan Williams <dan.j.williams@intel.com> Acked-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Cc: Michal Hocko <mhocko@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions