Thread (29 messages) 29 messages, 7 authors, 2021-10-20

Re: [PATCH v1 2/2] mm: remove extra ZONE_DEVICE struct page refcount

From: Matthew Wilcox <willy@infradead.org>
Date: 2021-10-14 16:53:41
Also in: amd-gfx, dri-devel, linux-mm, linux-xfs

On Thu, Oct 14, 2021 at 10:39:28AM -0500, Alex Sierra wrote:
From: Ralph Campbell <redacted>

ZONE_DEVICE struct pages have an extra reference count that complicates the
code for put_page() and several places in the kernel that need to check the
reference count to see that a page is not being used (gup, compaction,
migration, etc.). Clean up the code so the reference count doesn't need to
be treated specially for ZONE_DEVICE.

Signed-off-by: Ralph Campbell <redacted>
Signed-off-by: Alex Sierra <redacted>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help