lkml.org 
[lkml]   [2021]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH v14 081/138] mm: Add folio_evictable()
    Date
    Matthew Wilcox (Oracle) <willy@infradead.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

    \
     
     \ /
      Last update: 2021-08-10 23:42    [W:4.025 / U:0.200 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site