Re: [PATCH v2] mm/zswap: change zswap to writethrough cache

2013-12-12 Thread Dan Streetman
On Wed, Dec 11, 2013 at 4:02 AM, Bob Liu wrote: > Hi Dan & Seth, > > On Wed, Nov 27, 2013 at 9:28 AM, Dan Streetman wrote: >> On Mon, Nov 25, 2013 at 1:00 PM, Seth Jennings >> wrote: >>> On Fri, Nov 22, 2013 at 11:29:16AM -0600, Seth Jennings wrote: On Wed, Nov 20, 2013 at 02:49:33PM -0500

Re: [PATCH v2] mm/zswap: change zswap to writethrough cache

2013-12-11 Thread Bob Liu
Hi Dan & Seth, On Wed, Nov 27, 2013 at 9:28 AM, Dan Streetman wrote: > On Mon, Nov 25, 2013 at 1:00 PM, Seth Jennings > wrote: >> On Fri, Nov 22, 2013 at 11:29:16AM -0600, Seth Jennings wrote: >>> On Wed, Nov 20, 2013 at 02:49:33PM -0500, Dan Streetman wrote: >>> > Currently, zswap is writeback

Re: [PATCH v2] mm/zswap: change zswap to writethrough cache

2013-11-26 Thread Dan Streetman
On Mon, Nov 25, 2013 at 1:00 PM, Seth Jennings wrote: > On Fri, Nov 22, 2013 at 11:29:16AM -0600, Seth Jennings wrote: >> On Wed, Nov 20, 2013 at 02:49:33PM -0500, Dan Streetman wrote: >> > Currently, zswap is writeback cache; stored pages are not sent >> > to swap disk, and when zswap wants to ev

Re: [PATCH v2] mm/zswap: change zswap to writethrough cache

2013-11-25 Thread Seth Jennings
On Fri, Nov 22, 2013 at 11:29:16AM -0600, Seth Jennings wrote: > On Wed, Nov 20, 2013 at 02:49:33PM -0500, Dan Streetman wrote: > > Currently, zswap is writeback cache; stored pages are not sent > > to swap disk, and when zswap wants to evict old pages it must > > first write them back to swap cach

Re: [PATCH v2] mm/zswap: change zswap to writethrough cache

2013-11-22 Thread Dan Streetman
On Fri, Nov 22, 2013 at 12:29 PM, Seth Jennings wrote: > On Wed, Nov 20, 2013 at 02:49:33PM -0500, Dan Streetman wrote: >> Currently, zswap is writeback cache; stored pages are not sent >> to swap disk, and when zswap wants to evict old pages it must >> first write them back to swap cache/disk man

Re: [PATCH v2] mm/zswap: change zswap to writethrough cache

2013-11-22 Thread Seth Jennings
On Wed, Nov 20, 2013 at 02:49:33PM -0500, Dan Streetman wrote: > Currently, zswap is writeback cache; stored pages are not sent > to swap disk, and when zswap wants to evict old pages it must > first write them back to swap cache/disk manually. This avoids > swap out disk I/O up front, but only mo

Re: [PATCH v2] mm/zswap: change zswap to writethrough cache

2013-11-20 Thread Bob Liu
Hi Dan, On 11/21/2013 03:49 AM, Dan Streetman wrote: > Currently, zswap is writeback cache; stored pages are not sent > to swap disk, and when zswap wants to evict old pages it must > first write them back to swap cache/disk manually. This avoids > swap out disk I/O up front, but only moves that