kowr / compcache

Automatically exported from code.google.com/p/compcache
0 stars 0 forks source link

Automatic size (25%) not working on linux-3.0.1 #92

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Boot linux 3.0.1, with zram built as a module
2. modprobe zram
3. mkswap /dev/zram0

What version of the product are you using? On what operating system?
The version from staging of 3.0.1

Please provide any additional information below.
The device will only work after echoing a size to /sys/block/zram0/disksize. 
This contradicts the docs.

Original issue reported on code.google.com by c...@gmx.com on 8 Aug 2011 at 8:04

GoogleCodeExporter commented 9 years ago
Attached patch fixes the issue for me.

Original comment by c...@gmx.com on 8 Aug 2011 at 11:04

Attachments:

GoogleCodeExporter commented 9 years ago
fyi, patch submitted to mainline for review:
https://lkml.org/lkml/2011/8/23/490

Original comment by nitingupta910@gmail.com on 24 Aug 2011 at 1:41

GoogleCodeExporter commented 9 years ago
Fixed

Original comment by nitingupta910@gmail.com on 2 Oct 2012 at 10:14