[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1814102.1628631690@warthog.procyon.org.uk>
Date: Tue, 10 Aug 2021 22:41:30 +0100
From: David Howells <dhowells@...hat.com>
To: "Matthew Wilcox (Oracle)" <willy@...radead.org>
Cc: dhowells@...hat.com, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, linux-fsdevel@...r.kernel.org,
Christoph Hellwig <hch@....de>
Subject: Re: [PATCH v14 081/138] mm: Add folio_evictable()
Matthew Wilcox (Oracle) <willy@...radead.org> 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
Powered by blists - more mailing lists