diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2021-06-05 23:20:17 -0400 |
|---|---|---|
| committer | Matthew Wilcox (Oracle) <[email protected]> | 2021-09-27 09:27:29 -0400 |
| commit | c25303281d79299e9f35d4b2e496a8bd134d5715 (patch) | |
| tree | b71b1e663e9bbc24346993d9b6fcf6574675680a /tools/perf/scripts/python | |
| parent | 5816b3e6577eaa676ceb00a848f0fd65fe2adc29 (diff) | |
mm: Convert get_page_unless_zero() to return bool
atomic_add_unless() returns bool, so remove the widening casts to int
in page_ref_add_unless() and get_page_unless_zero(). This causes gcc
to produce slightly larger code in isolate_migratepages_block(), but
it's not clear that it's worse code. Net +19 bytes of text.
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Acked-by: Kirill A. Shutemov <[email protected]>
Reviewed-by: David Howells <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions