Re: [PATCH v3 0/3] free reclaimed pages by paging out instantly

2014-07-07 Thread Andrew Morton
On Thu, 3 Jul 2014 09:59:49 +0900 Minchan Kim wrote: > > > Most of field in vmstat are not changed too much but things I can notice > > > is allocstall and pgrotated. We could save allocstall(ie, direct relcaim) > > > and pgrotated very much. > > > > > > Welcome testing, review and any feedback!

Re: [PATCH v3 0/3] free reclaimed pages by paging out instantly

2014-07-02 Thread Minchan Kim
Hello Andrew, On Wed, Jul 02, 2014 at 01:42:15PM -0700, Andrew Morton wrote: > On Wed, 2 Jul 2014 09:13:46 +0900 Minchan Kim wrote: > > > Normally, I/O completed pages for reclaim would be rotated into > > inactive LRU tail without freeing. The why it works is we can't free > > page from atomic

Re: [PATCH v3 0/3] free reclaimed pages by paging out instantly

2014-07-02 Thread Andrew Morton
On Wed, 2 Jul 2014 09:13:46 +0900 Minchan Kim wrote: > Normally, I/O completed pages for reclaim would be rotated into > inactive LRU tail without freeing. The why it works is we can't free > page from atomic context(ie, end_page_writeback) due to vaious locks > isn't aware of atomic context. >

[PATCH v3 0/3] free reclaimed pages by paging out instantly

2014-07-01 Thread Minchan Kim
Normally, I/O completed pages for reclaim would be rotated into inactive LRU tail without freeing. The why it works is we can't free page from atomic context(ie, end_page_writeback) due to vaious locks isn't aware of atomic context. So for reclaiming the I/O completed pages, we need one more itera