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