Re: [LSF/MM/BFP TOPIC] Deprecate SPARSEMEM and have only SPARSEMEM_VMEMMAP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 13, 2024 at 11:43:09AM +0200, Oscar Salvador wrote:
> 0-3GB ->     0    .. 23   section (memmap populated)
> 4-32GB ->    31   .. 255  section (memmap populated)
> 259-260GB -> 2071 .. 2079 section (memmap populated)

And just to add more info, considering a 128MB section granularity (which seems
to be what paric has) a PAGE_SIZE of 4KB (not really sure which page size parisc
can deal with), PAGES_PER_SECTION then being 32768 and the vmemmap range starting
at 0xffffea0000000000, we would have the following vmemmap layout:

0-3GB     ->  0xffffea0000000000 - 0xffffea0003000000
4-32GB    ->  0xffffea0004000000 - 0xffffea0007800000
259-260GB ->  0xffffea0023e00000 - 0xffffea0024e00000

I am not sure though whether we can hit any limitation when it comes to
the vmemmap space we have available.

-- 
Oscar Salvador
SUSE Labs




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux