Re: [v4][PATCH 1/6] mm: swap: defer clearing of page_private() for swap cache pages

2013-06-03 Thread Minchan Kim
On Mon, Jun 03, 2013 at 07:53:01AM -0700, Dave Hansen wrote: > On 06/02/2013 10:40 PM, Minchan Kim wrote: > >> > diff -puN mm/vmscan.c~__delete_from_swap_cache-dont-clear-page-private > >> > mm/vmscan.c > >> > --- > >> > linux.git/mm/vmscan.c~__delete_from_swap_cache-dont-clear-page-private >

Re: [v4][PATCH 1/6] mm: swap: defer clearing of page_private() for swap cache pages

2013-06-03 Thread Dave Hansen
On 06/02/2013 10:40 PM, Minchan Kim wrote: >> > diff -puN mm/vmscan.c~__delete_from_swap_cache-dont-clear-page-private >> > mm/vmscan.c >> > --- linux.git/mm/vmscan.c~__delete_from_swap_cache-dont-clear-page-private >> > 2013-05-30 16:07:50.632079492 -0700 >> > +++ linux.git-davehans/mm/vmscan.c

Re: [v4][PATCH 1/6] mm: swap: defer clearing of page_private() for swap cache pages

2013-06-02 Thread Minchan Kim
On Fri, May 31, 2013 at 11:38:56AM -0700, Dave Hansen wrote: > > From: Dave Hansen > > This patch defers the destruction of swapcache-specific data in > 'struct page'. This simplifies the code because we do not have > to keep extra copies of the data during the removal of a page > from the swap

[v4][PATCH 1/6] mm: swap: defer clearing of page_private() for swap cache pages

2013-05-31 Thread Dave Hansen
From: Dave Hansen This patch defers the destruction of swapcache-specific data in 'struct page'. This simplifies the code because we do not have to keep extra copies of the data during the removal of a page from the swap cache. There are only two callers of swapcache_free() which actually pass