Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1531375

Re: [RFC 0/2] Add interface let ZRAM close swap cache

From Michal Hocko <mhocko@kernel.org>
Newsgroups linux.kernel
Subject Re: [RFC 0/2] Add interface let ZRAM close swap cache
Date 2016-11-28 15:50 +0100
Message-ID <sIvpL-3m3-9@gated-at.bofh.it> (permalink)
References <sHkmL-6J9-45@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri 25-11-16 16:25:11, Hui Zhu wrote:
> SWAP will keep before swap cache before swap space get full.  It will
> make swap space cannot be freed.  It is harmful to the system that use
> ZRAM because its space use memory too.

I have hard time to follow what you are trying to say here. Could you be
more specific about what is the actual problem?

> This two patches will add a sysfs switch to ZRAM that open or close swap
> cache without check the swap space.

I find this a crude hack to be honest. Please make sure to describe why
the swap cache stays in the way and why this is not problem in other
setups.
-- 
Michal Hocko
SUSE Labs

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [RFC 0/2] Add interface let ZRAM close swap cache Michal Hocko <mhocko@kernel.org> - 2016-11-28 15:50 +0100

csiph-web