diff options
| author | Yu Zhao <[email protected]> | 2024-07-10 20:13:17 -0600 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-09-01 20:25:48 -0700 |
| commit | afb6d780b9b17914ba720088dac2bfa2505f36c8 (patch) | |
| tree | 7c1b6ce76fb1c8e9ee9a0844b188ca4bad979ab2 /tools/perf/scripts/python | |
| parent | bed71b50b0c2dc38c5e94c84dd660add2d1609e0 (diff) | |
mm/swap: remove boilerplate
Remove boilerplate by using a macro to choose the corresponding lock and
handler for each folio_batch in cpu_fbatches.
[[email protected]: handle zero-length local_lock_t]
Link: https://lkml.kernel.org/r/[email protected]
[[email protected]: fix "BUG: using smp_processor_id() in preemptible"]
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Yu Zhao <[email protected]>
Tested-by: Hugh Dickins <[email protected]>
Cc: Barry Song <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions