]> Gentwo Git Trees - linux/.git/commit
mm: remove mlock_count from struct page
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 3 Sep 2025 19:10:39 +0000 (20:10 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Sun, 21 Sep 2025 21:22:16 +0000 (14:22 -0700)
commit94326d3130b5e78a35265bbf7822148372b39231
treea5dee3660f0c649d01123bbd79770eb25d298bad
parent8583bb0f9a7ed744a376ad4f1647efc240927a5a
mm: remove mlock_count from struct page

All users now use folio->mlock_count so we can remove this element of
struct page.  Move the useful comments over to struct folio.

Link: https://lkml.kernel.org/r/20250903191041.1630338-1-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/mm_types.h