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. Sorry to jump in late with a probably silly question, but I couldn't find the answer easily. What's the difference between disksize and mem_limit? I assume the former is uncompressed size (virtual size) and the latter is compressed size (real memory usage)? Maybe the difference should be made clearer in the documentation. If disksize is the uncompressed size, why would we want to set this at all? Marc -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>