aboutsummaryrefslogtreecommitdiff
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2022-01-07 14:15:11 -0500
committerMatthew Wilcox (Oracle) <willy@infradead.org>2022-03-21 12:56:35 -0400
commit78d9d6ced31ad2f242e44bd24b774fd99c2d663d (patch)
tree03b3a4ee3a82347f5be5b2c19fba0cae94a4c938 /mm/hugetlb.c
parent59409373f60a0a493fe2a1b85dc8c6299c4fef37 (diff)
downloadlinux-78d9d6ced31ad2f242e44bd24b774fd99c2d663d.tar.gz
linux-78d9d6ced31ad2f242e44bd24b774fd99c2d663d.tar.bz2
linux-78d9d6ced31ad2f242e44bd24b774fd99c2d663d.zip
mm/gup: Remove hpage_pincount_add()
It's clearer to call atomic_add() in the callers; the assertions clearly can't fire there because they're part of the condition for calling atomic_add(). 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 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions