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

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

 



On 08/15/2013 08:19 PM, Tejun Heo wrote:
On Thu, Aug 15, 2013 at 04:42:35PM +0800, Tang Chen wrote:
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 ?

Either than where we put the page table, the rest is the same, right?
Please note that we do want the pagetable in high address by default,
so this should be an optional behavior dependent on the hotplug boot
param.


Yes, the new behavior should be controlled by boot option.

I wanted to ask for some comment to the above solution. When I was
coding, I found that change the behavior of pagetable initialization
could be ugly. We should start from the middle of the memory, where
the kernel image is, but not the end of memory.

I'm not asking for any detail comment, just seeing from the description,
is it acceptable ?

BTW, the rest are easier to deal with.

Thanks.

--
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]