Re: kswapd skips compaction if reclaim order drops to zero?

2013-08-15 Thread Minchan Kim
On Thu, Aug 15, 2013 at 02:56:27PM +0100, Mel Gorman wrote: > On Thu, Aug 15, 2013 at 10:41:39PM +0900, Minchan Kim wrote: > > Hey Mel, > > > > On Thu, Aug 15, 2013 at 11:47:27AM +0100, Mel Gorman wrote: > > > On Thu, Aug 15, 2013 at 06:02:53PM +0800, Hillf Danton wrote: > > > > If the allocation

Re: kswapd skips compaction if reclaim order drops to zero?

2013-08-15 Thread Mel Gorman
On Thu, Aug 15, 2013 at 10:41:39PM +0900, Minchan Kim wrote: > Hey Mel, > > On Thu, Aug 15, 2013 at 11:47:27AM +0100, Mel Gorman wrote: > > On Thu, Aug 15, 2013 at 06:02:53PM +0800, Hillf Danton wrote: > > > If the allocation order is not high, direct compaction does nothing. > > > Can we skip

Re: kswapd skips compaction if reclaim order drops to zero?

2013-08-15 Thread Minchan Kim
Hey Mel, On Thu, Aug 15, 2013 at 11:47:27AM +0100, Mel Gorman wrote: > On Thu, Aug 15, 2013 at 06:02:53PM +0800, Hillf Danton wrote: > > If the allocation order is not high, direct compaction does nothing. > > Can we skip compaction here if order drops to zero? > > > > If the allocation order

Re: kswapd skips compaction if reclaim order drops to zero?

2013-08-15 Thread Mel Gorman
On Thu, Aug 15, 2013 at 06:02:53PM +0800, Hillf Danton wrote: > If the allocation order is not high, direct compaction does nothing. > Can we skip compaction here if order drops to zero? > If the allocation order is not high then pgdat_needs_compaction == (order > 0) == false == no calling

Re: kswapd skips compaction if reclaim order drops to zero?

2013-08-15 Thread Mel Gorman
On Thu, Aug 15, 2013 at 06:02:53PM +0800, Hillf Danton wrote: If the allocation order is not high, direct compaction does nothing. Can we skip compaction here if order drops to zero? If the allocation order is not high then pgdat_needs_compaction == (order 0) == false == no calling

Re: kswapd skips compaction if reclaim order drops to zero?

2013-08-15 Thread Minchan Kim
Hey Mel, On Thu, Aug 15, 2013 at 11:47:27AM +0100, Mel Gorman wrote: On Thu, Aug 15, 2013 at 06:02:53PM +0800, Hillf Danton wrote: If the allocation order is not high, direct compaction does nothing. Can we skip compaction here if order drops to zero? If the allocation order is not

Re: kswapd skips compaction if reclaim order drops to zero?

2013-08-15 Thread Mel Gorman
On Thu, Aug 15, 2013 at 10:41:39PM +0900, Minchan Kim wrote: Hey Mel, On Thu, Aug 15, 2013 at 11:47:27AM +0100, Mel Gorman wrote: On Thu, Aug 15, 2013 at 06:02:53PM +0800, Hillf Danton wrote: If the allocation order is not high, direct compaction does nothing. Can we skip compaction

Re: kswapd skips compaction if reclaim order drops to zero?

2013-08-15 Thread Minchan Kim
On Thu, Aug 15, 2013 at 02:56:27PM +0100, Mel Gorman wrote: On Thu, Aug 15, 2013 at 10:41:39PM +0900, Minchan Kim wrote: Hey Mel, On Thu, Aug 15, 2013 at 11:47:27AM +0100, Mel Gorman wrote: On Thu, Aug 15, 2013 at 06:02:53PM +0800, Hillf Danton wrote: If the allocation order is not