diff options
| author | Jane Chu <[email protected]> | 2019-11-30 17:53:35 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2019-12-01 12:59:04 -0800 |
| commit | 996ff7a08dae591f5e87852281477d26a83b393c (patch) | |
| tree | 44b21e60e6c5d0a77403145a84541feb9d3cc343 /tools/perf/scripts/python/bin | |
| parent | 2e53c4e1c807d91dc7241c2104e69ad9d2c71e48 (diff) | |
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/[email protected]
Signed-off-by: Jane Chu <[email protected]>
Reviewed-by: Dan Williams <[email protected]>
Acked-by: Naoya Horiguchi <[email protected]>
Cc: Michal Hocko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions