Re: [PATCH part5 0/7] Arrange hotpluggable memory as ZONE_MOVABLE.

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

 



On Thu, Aug 15, 2013 at 1:42 AM, Tang Chen <tangchen@xxxxxxxxxxxxxx> wrote:

> So if we want to allocate page tables near the kernelimage, we have to do
> the following:
>
> 1. Use BRK to map a range near kernel image, let's call it range X.
> 2. Calculate how much memory needed to map all the memory, let's say Y
> Bytes.
>    Use range X to map at least Y Bytes memory near kernel image.
> 3. Use the mapped memory to map all the rest memory.
>
> Does this sound OK to you guys ?

oh, no.
We just get rid of pre-calculate the buffer size for page tables.

Yinghai

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




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