diff options
author | 2024-08-21 18:39:10 +0100 | |
---|---|---|
committer | 2024-09-03 21:15:42 -0700 | |
commit | e880034cf7182aa35962bd30dfc9fa60476d56a4 (patch) | |
tree | 55148be6aa56f0c4bf523dc7c6df26135454499c /mm/debug.c | |
parent | printf: remove %pGt support (diff) | |
download | wireguard-linux-e880034cf7182aa35962bd30dfc9fa60476d56a4.tar.xz wireguard-linux-e880034cf7182aa35962bd30dfc9fa60476d56a4.zip |
mm: introduce page_mapcount_is_type()
Resolve the awkward "and add one to this opaque constant" test into a
self-documenting inline function.
Link: https://lkml.kernel.org/r/20240821173914.2270383-3-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: David Hildenbrand <david@redhat.com>
Cc: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Cc: Kent Overstreet <kent.overstreet@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/debug.c')
0 files changed, 0 insertions, 0 deletions