[PATCH 0/4] Physical memory info formatting

From: Bjorn Helgaas
Date: Fri Apr 27 2012 - 19:37:38 EST


There are no functional changes in these patches; they just add a little
consistency to printing out physical memory information.

For example:

-BIOS-provided physical RAM map:
+e820: BIOS-provided physical RAM map:
- BIOS-e820: 0000000000000100 - 000000000009e000 (usable)
+BIOS-e820: [mem 0x0000000000000100-0x000000000009dfff] usable
- BIOS-e820: 000000000009e000 - 00000000000a0000 (reserved)
+BIOS-e820: [mem 0x000000000009e000-0x000000000009ffff] reserved

-found SMP MP-table at [ffff8800000fce90] fce90
+found SMP MP-table at [mem 0x000fce90-0x000fce9f] mapped at [ffff8800000fce90]
-initial memory mapped : 0 - 20000000
+initial memory mapped: [mem 0x00000000-0x1fffffff]
-Base memory trampoline at [ffff88000009c000] 9c000 size 8192
+Base memory trampoline [mem 0x0009c000-0x0009dfff] mapped at [ffff88000009c000]

-SRAT: Node 0 PXM 0 0-80000000
+SRAT: Node 0 PXM 0 [mem 0x00000000-0x7fffffff]

-NUMA: Node 0 [0,80000000) + [100000000,880000000) -> [0,880000000)
+NUMA: Node 0 [mem 0x00000000-0x7fffffff] + [mem 0x100000000-0x87fffffff] -> [mem 0x00000000-0x87fffffff]

...

---

Bjorn Helgaas (4):
x86: print e820 physical addresses consistently with other parts of kernel
x86: print physical addresses consistently with other parts of kernel
swiotlb: print physical addresses consistently with other parts of kernel
mm: print physical addresses consistently with other parts of kernel


arch/x86/kernel/e820.c | 53 +++++++++++++++++++++---------------------
arch/x86/kernel/mpparse.c | 10 +++++---
arch/x86/kernel/setup.c | 16 ++++++-------
arch/x86/kernel/trampoline.c | 5 ++--
arch/x86/mm/init.c | 16 +++++++------
arch/x86/mm/numa.c | 32 +++++++++++++------------
arch/x86/mm/numa_emulation.c | 4 ++-
arch/x86/mm/pat.c | 42 +++++++++++++++------------------
arch/x86/mm/srat.c | 5 ++--
lib/swiotlb.c | 8 ++----
mm/memory_hotplug.c | 14 ++++++-----
mm/page_alloc.c | 19 +++++++++------
12 files changed, 115 insertions(+), 109 deletions(-)

--
Bjorn
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/