On Wed, Oct 03, 2018 at 08:52:00AM -0400, Dave Anderson wrote:
----- Original Message -----
>
... [ cut ] ...
>
> How about the following layout? The following shows the sections
> which belong to the memory block.
>
> crash> kmem -n
> ...
> NR SECTION CODED_MEM_MAP MEM_MAP STATE PFN
> 0 ffff88047e5d6000 ffffea0000000000 ffffea0000000000 PM 0
> 1 ffff88047e5d6020 ffffea0000000000 ffffea0000200000 PM 32768
> 2 ffff88047e5d6040 ffffea0000000000 ffffea0000400000 PM 65536
> 3 ffff88047e5d6060 ffffea0000000000 ffffea0000600000 PM 98304
> ...
>
> MEM_BLOCK NAME PHYSICAL RANGE STATE SECTIONS
> ffff880181e59000 memory0 0 - 7ffffff ONLINE 0-3
> ffff880181e58c00 memory1 8000000 - fffffff ONLINE 4-7
> ffff88047e268000 memory2 10000000 - 17ffffff ONLINE 8-11
> ffff88047e268400 memory3 18000000 - 1fffffff ONLINE 12-15
> ...
Perfect!
Thanks! I'll fix and submit the v2 patch.
- Masa