diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2022-05-12 20:23:02 -0700 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-05-13 07:20:15 -0700 |
| commit | 09c02e56327bdaf9cdbb2742a35fb8c6a6f9a6c7 (patch) | |
| tree | fd773c9b742b471f189984aca2da30a7d038afba /tools/perf/scripts/python | |
| parent | e2e3fdc7d4afdb8e7ba981eba7827993f2d390a8 (diff) | |
swap: convert add_to_swap() to take a folio
The only caller already has a folio available, so this saves a conversion.
Also convert the return type to boolean.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions