diff options
author | Zhen Lei <[email protected]> | 2023-05-27 20:34:36 +0800 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-06-09 17:44:23 -0700 |
commit | f7f567b95b12eda7a6a273b8cb82d152491bc0da (patch) | |
tree | 3b4e73ef30990adbf6d8f347f223ab2fa392be95 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 6f22a744f4ee7a22be4704cf93bbe22decc7e79e (diff) |
kexec: clear crashk_res if all its memory has been released
If the resource of crashk_res has been released, it is better to clear
crashk_res.start and crashk_res.end. Because 'end = start - 1' is not
reasonable, and in some places the test is based on crashk_res.end, not
resource_size(&crashk_res).
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Zhen Lei <[email protected]>
Acked-by: Baoquan He <[email protected]>
Cc: Cong Wang <[email protected]>
Cc: Eric W. Biederman <[email protected]>
Cc: Michael Holzheu <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions