mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-09-18 22:09:30 +02:00
Merge tag 'fixes-2026-09-14' of git://git.kernel.org/pub/scm/linux/kernel/git/mm/memblock
Pull memblock fixes from Mike Rapoport:
"Fix for regions display in debugfs and MAINTAINERS update:
- Make sure that multiple flags on a memblock region are all
displayed in debugfs
- Update memblock tree tags in MAINTAINERS"
* tag 'fixes-2026-09-14' of git://git.kernel.org/pub/scm/linux/kernel/git/mm/memblock:
MAINTAINERS: update memblock tree URLs
mm: memblock: show all region flags in debugfs
This commit is contained in:
+2
-2
@@ -17031,8 +17031,8 @@ MEMBLOCK AND MEMORY MANAGEMENT INITIALIZATION
|
||||
M: Mike Rapoport <rppt@kernel.org>
|
||||
L: linux-mm@kvack.org
|
||||
S: Maintained
|
||||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock.git for-next
|
||||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock.git fixes
|
||||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/mm/memblock.git for-next
|
||||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/mm/memblock.git fixes
|
||||
F: Documentation/core-api/boot-time-mm.rst
|
||||
F: include/linux/kho/abi/memblock.h
|
||||
F: include/linux/memblock.h
|
||||
|
||||
+11
-7
@@ -2908,14 +2908,18 @@ static int memblock_debug_show(struct seq_file *m, void *private)
|
||||
else
|
||||
seq_printf(m, "%4c ", 'x');
|
||||
if (reg->flags) {
|
||||
for (j = 0; j < count; j++) {
|
||||
if (reg->flags & (1U << j)) {
|
||||
seq_printf(m, "%s\n", flagname[j]);
|
||||
break;
|
||||
}
|
||||
unsigned int flags = reg->flags;
|
||||
bool first = true;
|
||||
|
||||
for (j = 0; flags; j++, flags >>= 1) {
|
||||
if (!(flags & 1))
|
||||
continue;
|
||||
if (!first)
|
||||
seq_putc(m, '|');
|
||||
seq_puts(m, j < count ? flagname[j] : "UNKNOWN");
|
||||
first = false;
|
||||
}
|
||||
if (j == count)
|
||||
seq_printf(m, "%s\n", "UNKNOWN");
|
||||
seq_putc(m, '\n');
|
||||
} else {
|
||||
seq_printf(m, "%s\n", "NONE");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user