lkml.org 
[lkml]   [2022]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v4 10/11] mm: lru: add VM_BUG_ON_FOLIO to lru maintenance function
    On Tue, May 24, 2022 at 03:44:02PM -0400, Johannes Weiner wrote:
    > On Tue, May 24, 2022 at 02:05:50PM +0800, Muchun Song wrote:
    > > We need to make sure that the page is deleted from or added to the
    > > correct lruvec list. So add a VM_BUG_ON_FOLIO() to catch invalid
    > > users.
    > >
    > > Signed-off-by: Muchun Song <songmuchun@bytedance.com>
    >
    > Makes sense, but please use VM_WARN_ON_ONCE_FOLIO() so the machine can
    > continue limping along for extracting debug information.
    >

    Make sense. Will do.

    Thanks.

    \
     
     \ /
      Last update: 2022-05-25 14:00    [W:3.305 / U:0.096 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site