lkml.org 
[lkml]   [2021]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v11 24/33] mm/swap: Add folio_rotate_reclaimable()
On Wed, Jun 16, 2021 at 11:27:02AM +0100, David Howells wrote:
> Matthew Wilcox (Oracle) <willy@infradead.org> wrote:
>
> > + !folio_unevictable(folio) && folio_lru(folio)) {
>
> Hmmm... Would folio_lru() be better named folio_on_lru()? folio_lru() sounds
> like it returns the folio's LRU.

That's folio_lru_list(). It's just that we have a bad habit of saying
"the lru" instead of "the lru list".

\
 
 \ /
  Last update: 2021-06-16 13:47    [W:0.206 / U:0.756 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site