Re: [PATCH v2 3/4] mm/zswap: avoid unnecessary page scanning

2013-09-23 Thread Weijie Yang
On Mon, Sep 23, 2013 at 10:06 AM, Bob Liu wrote: > > On 09/10/2013 12:29 AM, Seth Jennings wrote: >> On Fri, Sep 06, 2013 at 01:16:45PM +0800, Weijie Yang wrote: >>> add SetPageReclaim before __swap_writepage so that page can be moved to the >>> tail of the inactive list, which can avoid

Re: [PATCH v2 3/4] mm/zswap: avoid unnecessary page scanning

2013-09-23 Thread Weijie Yang
On Mon, Sep 23, 2013 at 10:06 AM, Bob Liu bob@oracle.com wrote: On 09/10/2013 12:29 AM, Seth Jennings wrote: On Fri, Sep 06, 2013 at 01:16:45PM +0800, Weijie Yang wrote: add SetPageReclaim before __swap_writepage so that page can be moved to the tail of the inactive list, which can avoid

Re: [PATCH v2 3/4] mm/zswap: avoid unnecessary page scanning

2013-09-22 Thread Bob Liu
On 09/10/2013 12:29 AM, Seth Jennings wrote: > On Fri, Sep 06, 2013 at 01:16:45PM +0800, Weijie Yang wrote: >> add SetPageReclaim before __swap_writepage so that page can be moved to the >> tail of the inactive list, which can avoid unnecessary page scanning as this >> page was reclaimed by swap

Re: [PATCH v2 3/4] mm/zswap: avoid unnecessary page scanning

2013-09-22 Thread Bob Liu
On 09/10/2013 12:29 AM, Seth Jennings wrote: On Fri, Sep 06, 2013 at 01:16:45PM +0800, Weijie Yang wrote: add SetPageReclaim before __swap_writepage so that page can be moved to the tail of the inactive list, which can avoid unnecessary page scanning as this page was reclaimed by swap

Re: [PATCH v2 3/4] mm/zswap: avoid unnecessary page scanning

2013-09-09 Thread Seth Jennings
On Fri, Sep 06, 2013 at 01:16:45PM +0800, Weijie Yang wrote: > add SetPageReclaim before __swap_writepage so that page can be moved to the > tail of the inactive list, which can avoid unnecessary page scanning as this > page was reclaimed by swap subsystem before. > > Signed-off-by: Weijie Yang

Re: [PATCH v2 3/4] mm/zswap: avoid unnecessary page scanning

2013-09-09 Thread Seth Jennings
On Fri, Sep 06, 2013 at 01:16:45PM +0800, Weijie Yang wrote: add SetPageReclaim before __swap_writepage so that page can be moved to the tail of the inactive list, which can avoid unnecessary page scanning as this page was reclaimed by swap subsystem before. Signed-off-by: Weijie Yang

Re: [PATCH v2 3/4] mm/zswap: avoid unnecessary page scanning

2013-09-06 Thread Bob Liu
On 09/06/2013 01:16 PM, Weijie Yang wrote: > add SetPageReclaim before __swap_writepage so that page can be moved to the > tail of the inactive list, which can avoid unnecessary page scanning as this > page was reclaimed by swap subsystem before. > > Signed-off-by: Weijie Yang Reviewed-by: Bob

Re: [PATCH v2 3/4] mm/zswap: avoid unnecessary page scanning

2013-09-06 Thread Bob Liu
On 09/06/2013 01:16 PM, Weijie Yang wrote: add SetPageReclaim before __swap_writepage so that page can be moved to the tail of the inactive list, which can avoid unnecessary page scanning as this page was reclaimed by swap subsystem before. Signed-off-by: Weijie Yang weijie.y...@samsung.com

[PATCH v2 3/4] mm/zswap: avoid unnecessary page scanning

2013-09-05 Thread Weijie Yang
add SetPageReclaim before __swap_writepage so that page can be moved to the tail of the inactive list, which can avoid unnecessary page scanning as this page was reclaimed by swap subsystem before. Signed-off-by: Weijie Yang --- mm/zswap.c |3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH v2 3/4] mm/zswap: avoid unnecessary page scanning

2013-09-05 Thread Weijie Yang
add SetPageReclaim before __swap_writepage so that page can be moved to the tail of the inactive list, which can avoid unnecessary page scanning as this page was reclaimed by swap subsystem before. Signed-off-by: Weijie Yang weijie.y...@samsung.com --- mm/zswap.c |3 +++ 1 file changed, 3