Thread (43 messages) 43 messages, 7 authors, 2021-08-20

Re: [PATCH v6 01/13] ext4/xfs: add page refcount helper

From: Christoph Hellwig <hch@lst.de>
Date: 2021-08-15 09:01:07
Also in: amd-gfx, linux-mm, linux-xfs

On Fri, Aug 13, 2021 at 01:31:38AM -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.

v3:
[AS]: rename dax_layout_is_idle_page func to dax_page_unused

v4:
[AS]: This ref count functionality was missing on fuse/dax.c.
These per-patch changelog goes under the "---", otherwise they totally
mess up the logs when commited to git.  Same for the other patches in
this series.

But the changes itself looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help