Re: [RFC PATCH 0/3] Aggressively allocate the pages on cma reserved memory

2014-05-18 Thread Joonsoo Kim
On Thu, May 15, 2014 at 10:47:18AM +0100, Mel Gorman wrote: > On Thu, May 15, 2014 at 11:10:55AM +0900, Joonsoo Kim wrote: > > > That doesn't always prefer CMA region. It would be nice to > > > understand why grouping in pageblock_nr_pages is beneficial. Also in > > > your patch you decrement

Re: [RFC PATCH 0/3] Aggressively allocate the pages on cma reserved memory

2014-05-18 Thread Joonsoo Kim
On Thu, May 15, 2014 at 10:47:18AM +0100, Mel Gorman wrote: On Thu, May 15, 2014 at 11:10:55AM +0900, Joonsoo Kim wrote: That doesn't always prefer CMA region. It would be nice to understand why grouping in pageblock_nr_pages is beneficial. Also in your patch you decrement nr_try_cma for

Re: [RFC PATCH 0/3] Aggressively allocate the pages on cma reserved memory

2014-05-15 Thread Mel Gorman
On Thu, May 15, 2014 at 11:10:55AM +0900, Joonsoo Kim wrote: > > That doesn't always prefer CMA region. It would be nice to > > understand why grouping in pageblock_nr_pages is beneficial. Also in > > your patch you decrement nr_try_cma for every 'order' allocation. Why ? > > pageblock_nr_pages

Re: [RFC PATCH 0/3] Aggressively allocate the pages on cma reserved memory

2014-05-15 Thread Mel Gorman
On Thu, May 15, 2014 at 11:10:55AM +0900, Joonsoo Kim wrote: That doesn't always prefer CMA region. It would be nice to understand why grouping in pageblock_nr_pages is beneficial. Also in your patch you decrement nr_try_cma for every 'order' allocation. Why ? pageblock_nr_pages is just

Re: [RFC PATCH 0/3] Aggressively allocate the pages on cma reserved memory

2014-05-14 Thread Joonsoo Kim
On Wed, May 14, 2014 at 03:14:30PM +0530, Aneesh Kumar K.V wrote: > Joonsoo Kim writes: > > > On Fri, May 09, 2014 at 02:39:20PM +0200, Marek Szyprowski wrote: > >> Hello, > >> > >> On 2014-05-08 02:32, Joonsoo Kim wrote: > >> >This series tries to improve CMA. > >> > > >> >CMA is introduced to

Re: [RFC PATCH 0/3] Aggressively allocate the pages on cma reserved memory

2014-05-14 Thread Aneesh Kumar K.V
Joonsoo Kim writes: > On Fri, May 09, 2014 at 02:39:20PM +0200, Marek Szyprowski wrote: >> Hello, >> >> On 2014-05-08 02:32, Joonsoo Kim wrote: >> >This series tries to improve CMA. >> > >> >CMA is introduced to provide physically contiguous pages at runtime >> >without reserving memory area.

Re: [RFC PATCH 0/3] Aggressively allocate the pages on cma reserved memory

2014-05-14 Thread Joonsoo Kim
On Wed, May 14, 2014 at 03:14:30PM +0530, Aneesh Kumar K.V wrote: Joonsoo Kim iamjoonsoo@lge.com writes: On Fri, May 09, 2014 at 02:39:20PM +0200, Marek Szyprowski wrote: Hello, On 2014-05-08 02:32, Joonsoo Kim wrote: This series tries to improve CMA. CMA is introduced to

Re: [RFC PATCH 0/3] Aggressively allocate the pages on cma reserved memory

2014-05-14 Thread Aneesh Kumar K.V
Joonsoo Kim iamjoonsoo@lge.com writes: On Fri, May 09, 2014 at 02:39:20PM +0200, Marek Szyprowski wrote: Hello, On 2014-05-08 02:32, Joonsoo Kim wrote: This series tries to improve CMA. CMA is introduced to provide physically contiguous pages at runtime without reserving memory

Re: [RFC PATCH 0/3] Aggressively allocate the pages on cma reserved memory

2014-05-12 Thread Joonsoo Kim
On Fri, May 09, 2014 at 02:39:20PM +0200, Marek Szyprowski wrote: > Hello, > > On 2014-05-08 02:32, Joonsoo Kim wrote: > >This series tries to improve CMA. > > > >CMA is introduced to provide physically contiguous pages at runtime > >without reserving memory area. But, current implementation

Re: [RFC PATCH 0/3] Aggressively allocate the pages on cma reserved memory

2014-05-12 Thread Joonsoo Kim
On Fri, May 09, 2014 at 02:39:20PM +0200, Marek Szyprowski wrote: Hello, On 2014-05-08 02:32, Joonsoo Kim wrote: This series tries to improve CMA. CMA is introduced to provide physically contiguous pages at runtime without reserving memory area. But, current implementation works like as

Re: [RFC PATCH 0/3] Aggressively allocate the pages on cma reserved memory

2014-05-09 Thread Marek Szyprowski
Hello, On 2014-05-08 02:32, Joonsoo Kim wrote: This series tries to improve CMA. CMA is introduced to provide physically contiguous pages at runtime without reserving memory area. But, current implementation works like as reserving memory approach, because allocation on cma reserved region

Re: [RFC PATCH 0/3] Aggressively allocate the pages on cma reserved memory

2014-05-09 Thread Marek Szyprowski
Hello, On 2014-05-08 02:32, Joonsoo Kim wrote: This series tries to improve CMA. CMA is introduced to provide physically contiguous pages at runtime without reserving memory area. But, current implementation works like as reserving memory approach, because allocation on cma reserved region

[RFC PATCH 0/3] Aggressively allocate the pages on cma reserved memory

2014-05-07 Thread Joonsoo Kim
Hello, This series tries to improve CMA. CMA is introduced to provide physically contiguous pages at runtime without reserving memory area. But, current implementation works like as reserving memory approach, because allocation on cma reserved region only occurs as fallback of migrate_movable

[RFC PATCH 0/3] Aggressively allocate the pages on cma reserved memory

2014-05-07 Thread Joonsoo Kim
Hello, This series tries to improve CMA. CMA is introduced to provide physically contiguous pages at runtime without reserving memory area. But, current implementation works like as reserving memory approach, because allocation on cma reserved region only occurs as fallback of migrate_movable