Re: [PATCH v4 02/28] mm: Add an unlock function for PG_private_2/PG_fscache

From
David Howells <dhowells@redhat.com>
Date
2021-03-16 20:38:56
Also in
ceph-devel, linux-cifs, linux-fsdevel, linux-mm, lkml
Reply to
Matthew Wilcox, 2021-03-16
Matthew Wilcox [off-list ref] wrote:
So ... a page with both flags cleared should have a refcount of N.
A page with one or both flags set should have a refcount of N+1.
...
How is a poor filesystem supposed to make that true?  Also btrfs has this
problem since it uses private_2 for its own purposes.
It's simpler if it's N+2 for both patches set.  Btw, patch 13 adds that - and
possibly that should be merged into an earlier patch.

David
Thread (46 messages) 46 messages, 4 authors, last reply 2021-03-23
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