Re: [PATCH v1 01/14] ext4/xfs: add page refcount helper

From
Theodore Ts'o <tytso@mit.edu>
Date
2021-08-25 15:09:29
Also in
amd-gfx, dri-devel, linux-mm, linux-xfs
Reply to
Alex Sierra, 2021-08-25
On Tue, Aug 24, 2021 at 10:48:15PM -0500, Alex Sierra wrote:
From: Ralph Campbell <redacted>

There are several places where ZONE_DEVICE struct pages assume a reference
count == 1 means the page is idle and free. Instead of open coding this,
add a helper function to hide this detail.

Signed-off-by: Ralph Campbell <redacted>
Signed-off-by: Alex Sierra <redacted>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Theodore Ts'o <tytso@mit.edu>
Thread (42 messages) 42 messages, 9 authors, last reply 2021-09-09
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help