Messages in this thread | | | Date | Fri, 27 Sep 2013 01:00:36 +0800 | From | Zhang Yanfei <> | Subject | Re: [PATCH v5 4/6] x86/mem-hotplug: Support initialize page tables in bottom-up |
| |
On 09/26/2013 10:48 PM, Tejun Heo wrote: > Hello, > > On Wed, Sep 25, 2013 at 02:30:51AM +0800, Zhang Yanfei wrote: >> +/** >> + * memory_map_bottom_up - Map [map_start, map_end) bottom up >> + * @map_start: start address of the target memory range >> + * @map_end: end address of the target memory range >> + * >> + * This function will setup direct mapping for memory range >> + * [map_start, map_end) in bottom-up. > > Ditto about the comment.
Trying below:
/** * memory_map_bottom_up - Map [map_start, map_end) bottom up * @map_start: start address of the target memory range * @map_end: end address of the target memory range * * This function will setup direct mapping for memory range * [map_start, map_end) in bottom-up. Since we have limited the * bottom-up allocation above the kernel, the page tables will * be allocated just above the kernel and we map the memory * in [map_start, map_end) in bottom-up. */ static void __init memory_map_bottom_up(unsigned long map_start, unsigned long map_end) {
Thanks.
-- Thanks. Zhang Yanfei
| |