diff options
| author | Kairui Song <[email protected]> | 2023-10-17 09:17:28 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-10-25 16:47:11 -0700 |
| commit | e5b306a082982cb98bc7ec48a382225522401a61 (patch) | |
| tree | e00b6ae62076aebb9089890881ef918f4e799a46 /tools/perf/scripts/python/bin | |
| parent | e56808fef8f71a192b2740c0b6ea8be7ab865d54 (diff) | |
mm/swap: avoid a xa load for swapout path
A variable is never used for swapout path (shadowp is NULL) and compiler
is unable to optimize out the unneeded load since it's a function call.
The was introduced by 3852f6768ede ("mm/swapcache: support to handle the
shadow entries").
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Kairui Song <[email protected]>
Reviewed-by: Matthew Wilcox (Oracle) <[email protected]>
Cc: Huang Ying <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions