summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2022-02-04 09:24:26 -0500
committerMatthew Wilcox (Oracle) <willy@infradead.org>2022-03-21 12:56:34 -0400
commit8ea2979c1444cd455ddbe7f976de79cc09fdc38d (patch)
tree984f8232835647aab7eb9501927174c03fd2c72c /include
parentd90a25f86dc83df9ce7f1446372cda8029e87f7c (diff)
downloadcachepc-linux-8ea2979c1444cd455ddbe7f976de79cc09fdc38d.tar.gz
cachepc-linux-8ea2979c1444cd455ddbe7f976de79cc09fdc38d.zip
mm/gup: Increment the page refcount before the pincount
We should always increase the refcount before doing anything else to the page so that other page users see the elevated refcount first. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: John Hubbard <jhubbard@nvidia.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions