linux/Documentation
Matthew Wilcox (Oracle) 5232c63f46 mm: Make compound_pincount always available
Move compound_pincount from the third page to the second page, which
means it's available for all compound pages.  That lets us delete
hpage_pincount_available().

On 32-bit systems, there isn't enough space for both compound_pincount
and compound_nr in the second page (it would collide with page->private,
which is in use for pages in the swap cache), so revert the optimisation
of storing both compound_order and compound_nr on 32-bit systems.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: William Kucharski <william.kucharski@oracle.com>
2022-03-21 12:56:35 -04:00
..
2021-12-10 14:28:01 -07:00
2022-01-09 18:59:10 -07:00
2021-12-01 20:02:11 +01:00
2022-02-13 10:06:40 -08:00
2021-12-31 14:39:28 +01:00
2022-01-19 11:15:19 +02:00
2022-01-22 09:02:57 +02:00
2022-01-22 09:02:57 +02:00
2021-11-26 16:27:43 +01:00
2022-01-28 19:00:26 +02:00
2022-01-27 11:22:34 -07:00
2021-12-10 14:05:55 -07:00