diff options
| author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2025-08-05 20:22:57 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-09-14 02:55:08 +0300 |
| commit | 89ef6ad6fa849b780b5a5caae9068261603e1738 (patch) | |
| tree | ba997137205f5b1d27770d9db898ae0598602048 /include/linux/stacktrace.h | |
| parent | 11afccce2ac5fd1ea5e6f0d251e746df782c8cfe (diff) | |
| download | linux-89ef6ad6fa849b780b5a5caae9068261603e1738.tar.xz | |
mm: introduce memdesc_is_zone_device()
Remove the conversion from folio to page in folio_is_zone_device() by
introducing memdesc_is_zone_device() which takes a memdesc_flags_t from
either a page or a folio.
Link: https://lkml.kernel.org/r/20250805172307.1302730-8-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Zi Yan <ziy@nvidia.com>
Cc: Shakeel Butt <shakeel.butt@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions
