commit | 78d9d6ced31ad2f242e44bd24b774fd99c2d663d | [log] [tgz] |
---|---|---|
author | Matthew Wilcox (Oracle) <willy@infradead.org> | Fri Jan 07 14:15:11 2022 -0500 |
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | Mon Mar 21 12:56:35 2022 -0400 |
tree | 03b3a4ee3a82347f5be5b2c19fba0cae94a4c938 | |
parent | 59409373f60a0a493fe2a1b85dc8c6299c4fef37 [diff] |
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>