diff options
| author | Uladzislau Rezki (Sony) <[email protected]> | 2024-01-24 19:09:20 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-02-23 17:48:21 -0800 |
| commit | 8be4d46e12af32342569840d958272dbb3be3f4c (patch) | |
| tree | d639fc835289817ffb348143e3e0119a70d53b47 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 15e02a39fb6b43f37100563c6a246252d5d1e6da (diff) | |
mm: vmalloc: refactor vmalloc_dump_obj() function
This patch tends to simplify the function in question, by removing an
extra stack "objp" variable, returning back to an early exit approach if
spin_trylock() fails or VA was not found.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Uladzislau Rezki (Sony) <[email protected]>
Reviewed-by: Lorenzo Stoakes <[email protected]>
Cc: Baoquan He <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Dave Chinner <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Cc: Oleksiy Avramchenko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions