diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-01-07 14:19:39 -0500 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-03-21 12:56:35 -0400 |
commit | 6315d8a23ce308433cf615e435ca2ee2aee7d11c (patch) | |
tree | 660423255c68cc673fd6b7ae2d512b81ec0eb90c /mm/page_alloc.c | |
parent | 78d9d6ced31ad2f242e44bd24b774fd99c2d663d (diff) | |
download | linux-6315d8a23ce308433cf615e435ca2ee2aee7d11c.tar.bz2 |
mm/gup: Remove hpage_pincount_sub()
Move the assertion (and correct it to be a cheaper variant),
and inline the atomic_sub() operation.
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 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions