Re: [PATCH 1/7] mm: Cleanup - Reorganize the shrink_page_list code into smaller functions

2016-05-30 Thread Michal Hocko
On Fri 27-05-16 09:40:27, Tim Chen wrote: > On Tue, 2016-05-03 at 14:01 -0700, Tim Chen wrote: > > This patch prepares the code for being able to batch the anonymous > > pages > > to be swapped out.  It reorganizes shrink_page_list function with > > 2 new functions: handle_pgout and pg_finish. > >

Re: [PATCH 1/7] mm: Cleanup - Reorganize the shrink_page_list code into smaller functions

2016-05-27 Thread Tim Chen
On Tue, 2016-05-03 at 14:01 -0700, Tim Chen wrote: > This patch prepares the code for being able to batch the anonymous > pages > to be swapped out.  It reorganizes shrink_page_list function with > 2 new functions: handle_pgout and pg_finish. > > The paging operation in shrink_page_list is consoli

[PATCH 1/7] mm: Cleanup - Reorganize the shrink_page_list code into smaller functions

2016-05-03 Thread Tim Chen
This patch prepares the code for being able to batch the anonymous pages to be swapped out.  It reorganizes shrink_page_list function with 2 new functions: handle_pgout and pg_finish. The paging operation in shrink_page_list is consolidated into handle_pgout function. After we have scanned a page