diff options
| author | Miaohe Lin <[email protected]> | 2022-05-19 14:08:52 -0700 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-05-19 14:08:52 -0700 |
| commit | 4b9ae8426cb4a9160ae41bc968391f499feece7e (patch) | |
| tree | 3c40bec41e874999626977bb843bc00cb91bbc5b /tools/perf/scripts/python | |
| parent | eacde32757c7566d3aa760609585c78909532e40 (diff) | |
mm/swap: add helper swap_offset_available()
Add helper swap_offset_available() to remove some duplicated codes. Minor
readability improvement.
[[email protected]: s/swap_offset_available/swap_offset_available_and_locked/, per Neil]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Miaohe Lin <[email protected]>
Cc: Alistair Popple <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: David Howells <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Naoya Horiguchi <[email protected]>
Cc: NeilBrown <[email protected]>
Cc: Peter Xu <[email protected]>
Cc: Suren Baghdasaryan <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Cc: Oscar Salvador <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions