Re: [PATCH v2] zswap: re-check zswap_is_full after do zswap_shrink

2018-07-25 Thread Dan Streetman
On Mon, Jun 25, 2018 at 4:08 AM Li Wang wrote: > > On 30 May 2018 at 20:53, Dan Streetman wrote: > > On Wed, May 30, 2018 at 6:39 AM, Li Wang wrote: > >> The '/sys/../zswap/stored_pages:' keep raising in zswap test with > >> "zswap.max_pool_percent=0" parameter. But theoretically, it should >

Re: [PATCH v2] zswap: re-check zswap_is_full after do zswap_shrink

2018-07-25 Thread Dan Streetman
On Mon, Jun 25, 2018 at 4:08 AM Li Wang wrote: > > On 30 May 2018 at 20:53, Dan Streetman wrote: > > On Wed, May 30, 2018 at 6:39 AM, Li Wang wrote: > >> The '/sys/../zswap/stored_pages:' keep raising in zswap test with > >> "zswap.max_pool_percent=0" parameter. But theoretically, it should >

Re: [PATCH v2] zswap: re-check zswap_is_full after do zswap_shrink

2018-06-25 Thread Li Wang
On 30 May 2018 at 20:53, Dan Streetman wrote: > On Wed, May 30, 2018 at 6:39 AM, Li Wang wrote: >> The '/sys/../zswap/stored_pages:' keep raising in zswap test with >> "zswap.max_pool_percent=0" parameter. But theoretically, it should >> not compress or store pages any more since there is no

Re: [PATCH v2] zswap: re-check zswap_is_full after do zswap_shrink

2018-06-25 Thread Li Wang
On 30 May 2018 at 20:53, Dan Streetman wrote: > On Wed, May 30, 2018 at 6:39 AM, Li Wang wrote: >> The '/sys/../zswap/stored_pages:' keep raising in zswap test with >> "zswap.max_pool_percent=0" parameter. But theoretically, it should >> not compress or store pages any more since there is no

Re: [PATCH v2] zswap: re-check zswap_is_full after do zswap_shrink

2018-05-30 Thread Dan Streetman
On Wed, May 30, 2018 at 6:39 AM, Li Wang wrote: > The '/sys/../zswap/stored_pages:' keep raising in zswap test with > "zswap.max_pool_percent=0" parameter. But theoretically, it should > not compress or store pages any more since there is no space in > compressed pool. > > Reproduce steps: > 1.

Re: [PATCH v2] zswap: re-check zswap_is_full after do zswap_shrink

2018-05-30 Thread Dan Streetman
On Wed, May 30, 2018 at 6:39 AM, Li Wang wrote: > The '/sys/../zswap/stored_pages:' keep raising in zswap test with > "zswap.max_pool_percent=0" parameter. But theoretically, it should > not compress or store pages any more since there is no space in > compressed pool. > > Reproduce steps: > 1.

[PATCH v2] zswap: re-check zswap_is_full after do zswap_shrink

2018-05-30 Thread Li Wang
The '/sys/../zswap/stored_pages:' keep raising in zswap test with "zswap.max_pool_percent=0" parameter. But theoretically, it should not compress or store pages any more since there is no space in compressed pool. Reproduce steps: 1. Boot kernel with "zswap.enabled=1" 2. Set the

[PATCH v2] zswap: re-check zswap_is_full after do zswap_shrink

2018-05-30 Thread Li Wang
The '/sys/../zswap/stored_pages:' keep raising in zswap test with "zswap.max_pool_percent=0" parameter. But theoretically, it should not compress or store pages any more since there is no space in compressed pool. Reproduce steps: 1. Boot kernel with "zswap.enabled=1" 2. Set the