Re: [PATCH v4 0/4] zram memory control enhance

2014-08-24 Thread Minchan Kim
Hello Dan, On Fri, Aug 22, 2014 at 03:15:36PM -0400, Dan Streetman wrote: > On Thu, Aug 21, 2014 at 8:42 PM, Minchan Kim wrote: > > Currently, zram has no feature to limit memory so theoretically > > zram can deplete system memory. > > Users have asked for a limit several times as even without

Re: [PATCH v4 0/4] zram memory control enhance

2014-08-24 Thread Minchan Kim
Hello Dan, On Fri, Aug 22, 2014 at 03:15:36PM -0400, Dan Streetman wrote: On Thu, Aug 21, 2014 at 8:42 PM, Minchan Kim minc...@kernel.org wrote: Currently, zram has no feature to limit memory so theoretically zram can deplete system memory. Users have asked for a limit several times as

Re: [PATCH v4 0/4] zram memory control enhance

2014-08-22 Thread Dan Streetman
On Thu, Aug 21, 2014 at 8:42 PM, Minchan Kim wrote: > Currently, zram has no feature to limit memory so theoretically > zram can deplete system memory. > Users have asked for a limit several times as even without exhaustion > zram makes it hard to control memory usage of the platform. > This

Re: [PATCH v4 0/4] zram memory control enhance

2014-08-22 Thread Dan Streetman
On Thu, Aug 21, 2014 at 8:42 PM, Minchan Kim minc...@kernel.org wrote: Currently, zram has no feature to limit memory so theoretically zram can deplete system memory. Users have asked for a limit several times as even without exhaustion zram makes it hard to control memory usage of the

[PATCH v4 0/4] zram memory control enhance

2014-08-21 Thread Minchan Kim
Currently, zram has no feature to limit memory so theoretically zram can deplete system memory. Users have asked for a limit several times as even without exhaustion zram makes it hard to control memory usage of the platform. This patchset adds the feature. Patch 1 makes zs_get_total_size_bytes

[PATCH v4 0/4] zram memory control enhance

2014-08-21 Thread Minchan Kim
Currently, zram has no feature to limit memory so theoretically zram can deplete system memory. Users have asked for a limit several times as even without exhaustion zram makes it hard to control memory usage of the platform. This patchset adds the feature. Patch 1 makes zs_get_total_size_bytes