Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
  • David Hildenbrand's avatar
    mm/debug: print only page mapcount (excluding folio entire mapcount) in __dump_folio() · 7441d349
    David Hildenbrand authored
    Let's simplify and only print the page mapcount: we already print the
    large folio mapcount and the entire folio mapcount for large folios
    separately; that should be sufficient to figure out what's happening.
    
    While at it, print the page mapcount also if it had an underflow,
    filtering out only typed pages.
    
    Link: https://lkml.kernel.org/r/20240409192301.907377-18-david@redhat.com
    
    
    Signed-off-by: default avatarDavid Hildenbrand <david@redhat.com>
    Cc: Chris Zankel <chris@zankel.net>
    Cc: Hugh Dickins <hughd@google.com>
    Cc: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
    Cc: Jonathan Corbet <corbet@lwn.net>
    Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
    Cc: Max Filippov <jcmvbkbc@gmail.com>
    Cc: Miaohe Lin <linmiaohe@huawei.com>
    Cc: Muchun Song <muchun.song@linux.dev>
    Cc: Naoya Horiguchi <nao.horiguchi@gmail.com>
    Cc: Peter Xu <peterx@redhat.com>
    Cc: Richard Chang <richardycc@google.com>
    Cc: Rich Felker <dalias@libc.org>
    Cc: Ryan...
    7441d349