Re: [PATCH v3 1/5] memblock: Introduce allocation direction to memblock.

2013-09-23 Thread Zhang Yanfei
Hello tejun, On 09/23/2013 11:38 PM, Tejun Heo wrote: > Hello, > > Sorry about the delay. Was traveling. hoho~ I guess you did have a good time. > > On Fri, Sep 13, 2013 at 05:30:51PM +0800, Tang Chen wrote: >> +/* Allocation order. */ >> +#define MEMBLOCK_DIRECTION_HIGH_TO_LOW 0 >>

Re: [PATCH v3 1/5] memblock: Introduce allocation direction to memblock.

2013-09-23 Thread Tejun Heo
Hello, Sorry about the delay. Was traveling. On Fri, Sep 13, 2013 at 05:30:51PM +0800, Tang Chen wrote: > +/* Allocation order. */ > +#define MEMBLOCK_DIRECTION_HIGH_TO_LOW 0 > +#define MEMBLOCK_DIRECTION_LOW_TO_HIGH 1 > +#define MEMBLOCK_DIRECTION_DEFAULT

Re: [PATCH v3 1/5] memblock: Introduce allocation direction to memblock.

2013-09-23 Thread Tejun Heo
Hello, Sorry about the delay. Was traveling. On Fri, Sep 13, 2013 at 05:30:51PM +0800, Tang Chen wrote: +/* Allocation order. */ +#define MEMBLOCK_DIRECTION_HIGH_TO_LOW 0 +#define MEMBLOCK_DIRECTION_LOW_TO_HIGH 1 +#define MEMBLOCK_DIRECTION_DEFAULT

Re: [PATCH v3 1/5] memblock: Introduce allocation direction to memblock.

2013-09-23 Thread Zhang Yanfei
Hello tejun, On 09/23/2013 11:38 PM, Tejun Heo wrote: Hello, Sorry about the delay. Was traveling. hoho~ I guess you did have a good time. On Fri, Sep 13, 2013 at 05:30:51PM +0800, Tang Chen wrote: +/* Allocation order. */ +#define MEMBLOCK_DIRECTION_HIGH_TO_LOW 0 +#define

Re: [PATCH v3 1/5] memblock: Introduce allocation direction to memblock.

2013-09-13 Thread Jianguo Wu
Hi Tang, On 2013/9/13 17:30, Tang Chen wrote: > The Linux kernel cannot migrate pages used by the kernel. As a result, kernel > pages cannot be hot-removed. So we cannot allocate hotpluggable memory for > the kernel. > > ACPI SRAT (System Resource Affinity Table) contains the memory hotplug

[PATCH v3 1/5] memblock: Introduce allocation direction to memblock.

2013-09-13 Thread Tang Chen
The Linux kernel cannot migrate pages used by the kernel. As a result, kernel pages cannot be hot-removed. So we cannot allocate hotpluggable memory for the kernel. ACPI SRAT (System Resource Affinity Table) contains the memory hotplug info. But before SRAT is parsed, memblock has already started

[PATCH v3 1/5] memblock: Introduce allocation direction to memblock.

2013-09-13 Thread Tang Chen
The Linux kernel cannot migrate pages used by the kernel. As a result, kernel pages cannot be hot-removed. So we cannot allocate hotpluggable memory for the kernel. ACPI SRAT (System Resource Affinity Table) contains the memory hotplug info. But before SRAT is parsed, memblock has already started

Re: [PATCH v3 1/5] memblock: Introduce allocation direction to memblock.

2013-09-13 Thread Jianguo Wu
Hi Tang, On 2013/9/13 17:30, Tang Chen wrote: The Linux kernel cannot migrate pages used by the kernel. As a result, kernel pages cannot be hot-removed. So we cannot allocate hotpluggable memory for the kernel. ACPI SRAT (System Resource Affinity Table) contains the memory hotplug info.