Re: [PATCH v2 3/4] zram: zram memory size limitation

2014-08-20 Thread Marc Dietrich
Am Mittwoch, 20. August 2014, 08:32:25 schrieb Minchan Kim: > Hello, > > On Tue, Aug 19, 2014 at 10:06:22AM +0200, Marc Dietrich wrote: > > Am Dienstag, 19. August 2014, 16:54:46 schrieb Minchan Kim: > > > Since zram has no control feature to limit memory usage, > > > it makes hard to manage syste

Re: [PATCH v2 3/4] zram: zram memory size limitation

2014-08-19 Thread Minchan Kim
Hello, On Tue, Aug 19, 2014 at 10:06:22AM +0200, Marc Dietrich wrote: > Am Dienstag, 19. August 2014, 16:54:46 schrieb Minchan Kim: > > Since zram has no control feature to limit memory usage, > > it makes hard to manage system memrory. > > > > This patch adds new knob "mem_limit" via sysfs to se

Re: [PATCH v2 3/4] zram: zram memory size limitation

2014-08-19 Thread Marc Dietrich
Am Dienstag, 19. August 2014, 16:54:46 schrieb Minchan Kim: > Since zram has no control feature to limit memory usage, > it makes hard to manage system memrory. > > This patch adds new knob "mem_limit" via sysfs to set up the > a limit so that zram could fail allocation once it reaches > the limit