Re: [PATCH v14 081/138] mm: Add folio_evictable()

From
David Howells <dhowells@redhat.com>
Date
2021-08-10 21:41:41
Also in
linux-fsdevel, lkml
Reply to
Matthew Wilcox (Oracle), 2021-07-15
Matthew Wilcox (Oracle) [off-list ref] wrote:
This is the folio equivalent of page_evictable().  Unfortunately, it's
different from !folio_test_unevictable(), but I think it's used in places
where you have to be a VM expert and can reasonably be expected to know
the difference.
It would be useful to say how it is different.  I'm guessing it's because a
page is always entirely mlocked or not, but a folio might be partially
mlocked?

David

Thread (389 messages) 389 messages, 13 authors, last reply 2021-08-21
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