Re: [PATCH v5 3/6] x86/mm: Factor out of top-down direct mapping setup

2013-09-27 Thread Toshi Kani
On Wed, 2013-09-25 at 02:29 +0800, Zhang Yanfei wrote: > From: Tang Chen > > This patch creates a new function memory_map_top_down to > factor out of the top-down direct memory mapping pagetable > setup. This is also a preparation for the following patch, > which will introduce the bottom-up

Re: [PATCH v5 3/6] x86/mm: Factor out of top-down direct mapping setup

2013-09-27 Thread Toshi Kani
On Wed, 2013-09-25 at 02:29 +0800, Zhang Yanfei wrote: From: Tang Chen tangc...@cn.fujitsu.com This patch creates a new function memory_map_top_down to factor out of the top-down direct memory mapping pagetable setup. This is also a preparation for the following patch, which will introduce

Re: [PATCH v5 3/6] x86/mm: Factor out of top-down direct mapping setup

2013-09-26 Thread Zhang Yanfei
Hello tejun, On 09/26/2013 11:39 PM, Zhang Yanfei wrote: > On 09/26/2013 10:46 PM, Tejun Heo wrote: >> On Wed, Sep 25, 2013 at 02:29:06AM +0800, Zhang Yanfei wrote: >>> +/** >>> + * memory_map_top_down - Map [map_start, map_end) top down >>> + * @map_start: start address of the target memory

Re: [PATCH v5 3/6] x86/mm: Factor out of top-down direct mapping setup

2013-09-26 Thread Zhang Yanfei
On 09/26/2013 10:46 PM, Tejun Heo wrote: > On Wed, Sep 25, 2013 at 02:29:06AM +0800, Zhang Yanfei wrote: >> +/** >> + * memory_map_top_down - Map [map_start, map_end) top down >> + * @map_start: start address of the target memory range >> + * @map_end: end address of the target memory range >> + *

Re: [PATCH v5 3/6] x86/mm: Factor out of top-down direct mapping setup

2013-09-26 Thread Tejun Heo
On Wed, Sep 25, 2013 at 02:29:06AM +0800, Zhang Yanfei wrote: > +/** > + * memory_map_top_down - Map [map_start, map_end) top down > + * @map_start: start address of the target memory range > + * @map_end: end address of the target memory range > + * > + * This function will setup direct mapping

Re: [PATCH v5 3/6] x86/mm: Factor out of top-down direct mapping setup

2013-09-26 Thread Tejun Heo
On Wed, Sep 25, 2013 at 02:29:06AM +0800, Zhang Yanfei wrote: +/** + * memory_map_top_down - Map [map_start, map_end) top down + * @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

Re: [PATCH v5 3/6] x86/mm: Factor out of top-down direct mapping setup

2013-09-26 Thread Zhang Yanfei
On 09/26/2013 10:46 PM, Tejun Heo wrote: On Wed, Sep 25, 2013 at 02:29:06AM +0800, Zhang Yanfei wrote: +/** + * memory_map_top_down - Map [map_start, map_end) top down + * @map_start: start address of the target memory range + * @map_end: end address of the target memory range + * + * This

Re: [PATCH v5 3/6] x86/mm: Factor out of top-down direct mapping setup

2013-09-26 Thread Zhang Yanfei
Hello tejun, On 09/26/2013 11:39 PM, Zhang Yanfei wrote: On 09/26/2013 10:46 PM, Tejun Heo wrote: On Wed, Sep 25, 2013 at 02:29:06AM +0800, Zhang Yanfei wrote: +/** + * memory_map_top_down - Map [map_start, map_end) top down + * @map_start: start address of the target memory range + *

[PATCH v5 3/6] x86/mm: Factor out of top-down direct mapping setup

2013-09-24 Thread Zhang Yanfei
From: Tang Chen This patch creates a new function memory_map_top_down to factor out of the top-down direct memory mapping pagetable setup. This is also a preparation for the following patch, which will introduce the bottom-up memory mapping. That said, we will put the two ways of pagetable setup

[PATCH v5 3/6] x86/mm: Factor out of top-down direct mapping setup

2013-09-24 Thread Zhang Yanfei
From: Tang Chen tangc...@cn.fujitsu.com This patch creates a new function memory_map_top_down to factor out of the top-down direct memory mapping pagetable setup. This is also a preparation for the following patch, which will introduce the bottom-up memory mapping. That said, we will put the two