diff options
author | 2022-01-09 16:21:23 -0500 | |
---|---|---|
committer | 2022-03-21 12:56:35 -0400 | |
commit | 0b046e12ae5d6d286415a2e805fcfdd724b7add1 (patch) | |
tree | f6b27a046213eac391e825ccaa0a14ee57348e89 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mm/gup: Change the calling convention for compound_range_next() (diff) | |
download | wireguard-linux-0b046e12ae5d6d286415a2e805fcfdd724b7add1.tar.xz wireguard-linux-0b046e12ae5d6d286415a2e805fcfdd724b7add1.zip |
mm/gup: Optimise compound_range_next()
By definition, a compound page has an order >= 1, so the second half
of the test was redundant. Also, this cannot be a tail page since
it's the result of calling compound_head(), so use PageHead() instead
of PageCompound().
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: William Kucharski <william.kucharski@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions