diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-01-08 08:15:04 +0300 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-03-21 19:56:35 +0300 |
commit | 822951d84684d7a0c4f45e7231c960e7fe786d8f (patch) | |
tree | c589a9290844c64594e9a5ca4f5198ebbe96505a /samples | |
parent | d8ddc099c6b3dde887f9484da9a6677709d68b61 (diff) | |
download | linux-822951d84684d7a0c4f45e7231c960e7fe786d8f.tar.xz |
mm/hugetlb: Use try_grab_folio() instead of try_grab_compound_head()
follow_hugetlb_page() only cares about success or failure, so it doesn't
need to know the type of the returned pointer, only whether it's NULL
or not.
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 'samples')
0 files changed, 0 insertions, 0 deletions