Re: [PATCH v1 06/11] mm: support GUP-triggered unsharing via FAULT_FLAG_UNSHARE (!hugetlb)

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
2021-12-19 22:12:26
Also in
linux-kselftest, linux-mm, lkml
Reply to
Matthew Wilcox, 2021-12-19
On Sun, Dec 19, 2021 at 2:02 PM Matthew Wilcox [off-list ref] wrote:
I'd like to get rid of ->mapcount for file pages too.  And those are
definitely never mapped in the majority of cases.
Fair enough.

You'd probably be better off checking "is this mapping mapped" though.
Because otherwise you have to get the page lock to serialize each
page.

               Linus
Thread (137 messages) 137 messages, 11 authors, last reply 2022-01-04
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