Re: [PATCH 3/4] zswap: Zero-filled pages handling

2017-02-17 Thread Dan Streetman
On Wed, Aug 17, 2016 at 6:18 AM, Srividya Desireddy <srividya...@samsung.com> wrote: > From: Srividya Desireddy <srividya...@samsung.com> > Date: Wed, 17 Aug 2016 14:34:14 +0530 > Subject: [PATCH 3/4] zswap: Zero-filled pages handling > > This patch adds a che

Re: [PATCH 3/4] zswap: Zero-filled pages handling

2017-02-17 Thread Dan Streetman
On Wed, Aug 17, 2016 at 6:18 AM, Srividya Desireddy wrote: > From: Srividya Desireddy > Date: Wed, 17 Aug 2016 14:34:14 +0530 > Subject: [PATCH 3/4] zswap: Zero-filled pages handling > > This patch adds a check in zswap_frontswap_store() to identify zero-filled > page

[PATCH 3/4] zswap: Zero-filled pages handling

2016-08-19 Thread Srividya Desireddy
On 17 August 2016 at 18:02, Pekka Enberg wrote: > On Wed, Aug 17, 2016 at 1:18 PM, Srividya Desireddy > wrote: >>> This patch adds a check in zswap_frontswap_store() to identify zero-filled >>> page before compression of the page. If the page is a

[PATCH 3/4] zswap: Zero-filled pages handling

2016-08-19 Thread Srividya Desireddy
On 17 August 2016 at 18:02, Pekka Enberg wrote: > On Wed, Aug 17, 2016 at 1:18 PM, Srividya Desireddy > wrote: >>> This patch adds a check in zswap_frontswap_store() to identify zero-filled >>> page before compression of the page. If the page is a zero-filled page, set >>> zswap_entry.zeroflag

[PATCH 3/4] zswap: Zero-filled pages handling

2016-08-19 Thread Srividya Desireddy
On 17 August 2016 at 17:55, Pekka Enberg wrote: > On Wed, Aug 17, 2016 at 1:18 PM, Srividya Desireddy > wrote: >> @@ -1314,6 +1347,13 @@ static int zswap_frontswap_load(unsigned type, >> pgoff_t offset, >> } >> spin_unlock(>lock); >>

[PATCH 3/4] zswap: Zero-filled pages handling

2016-08-19 Thread Srividya Desireddy
On 17 August 2016 at 17:55, Pekka Enberg wrote: > On Wed, Aug 17, 2016 at 1:18 PM, Srividya Desireddy > wrote: >> @@ -1314,6 +1347,13 @@ static int zswap_frontswap_load(unsigned type, >> pgoff_t offset, >> } >> spin_unlock(>lock); >> >> + if (entry->zeroflag) { >> +

Re: [PATCH 3/4] zswap: Zero-filled pages handling

2016-08-17 Thread Pekka Enberg
On Wed, Aug 17, 2016 at 1:18 PM, Srividya Desireddy wrote: >> This patch adds a check in zswap_frontswap_store() to identify zero-filled >> page before compression of the page. If the page is a zero-filled page, set >> zswap_entry.zeroflag and skip the compression of the

Re: [PATCH 3/4] zswap: Zero-filled pages handling

2016-08-17 Thread Pekka Enberg
On Wed, Aug 17, 2016 at 1:18 PM, Srividya Desireddy wrote: >> This patch adds a check in zswap_frontswap_store() to identify zero-filled >> page before compression of the page. If the page is a zero-filled page, set >> zswap_entry.zeroflag and skip the compression of the page and alloction >> of

Re: [PATCH 3/4] zswap: Zero-filled pages handling

2016-08-17 Thread Pekka Enberg
On Wed, Aug 17, 2016 at 1:18 PM, Srividya Desireddy wrote: > This patch adds a check in zswap_frontswap_store() to identify zero-filled > page before compression of the page. If the page is a zero-filled page, set > zswap_entry.zeroflag and skip the compression of the

Re: [PATCH 3/4] zswap: Zero-filled pages handling

2016-08-17 Thread Pekka Enberg
On Wed, Aug 17, 2016 at 1:18 PM, Srividya Desireddy wrote: > This patch adds a check in zswap_frontswap_store() to identify zero-filled > page before compression of the page. If the page is a zero-filled page, set > zswap_entry.zeroflag and skip the compression of the page and alloction > of

[PATCH 3/4] zswap: Zero-filled pages handling

2016-08-17 Thread Srividya Desireddy
From: Srividya Desireddy <srividya...@samsung.com> Date: Wed, 17 Aug 2016 14:34:14 +0530 Subject: [PATCH 3/4] zswap: Zero-filled pages handling This patch adds a check in zswap_frontswap_store() to identify zero-filled page before compression of the page. If the page is a zero-filled pag

[PATCH 3/4] zswap: Zero-filled pages handling

2016-08-17 Thread Srividya Desireddy
From: Srividya Desireddy Date: Wed, 17 Aug 2016 14:34:14 +0530 Subject: [PATCH 3/4] zswap: Zero-filled pages handling This patch adds a check in zswap_frontswap_store() to identify zero-filled page before compression of the page. If the page is a zero-filled page, set zswap_entry.zeroflag