Matthew Wilcox (Oracle) 6315d8a23c 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>
2022-03-21 12:56:35 -04:00
..
2021-05-07 00:26:35 -07:00
2021-05-05 11:27:24 -07:00
2021-05-05 11:27:24 -07:00
2022-03-21 12:56:35 -04:00
2021-11-25 10:13:56 -08:00
2022-01-15 16:30:28 +02:00
2021-11-10 11:29:30 -08:00
2021-06-05 20:43:15 +00:00
2022-01-23 06:20:44 +02:00
2021-05-07 00:26:35 -07:00
2021-04-16 16:10:37 -07:00
2022-01-22 08:33:38 +02:00
2022-01-18 06:40:47 +02:00
2022-01-22 08:33:38 +02:00
2022-01-15 16:30:31 +02:00