diff options
author | Caio Schnepper <caioschnepper@gmail.com> | 2015-10-11 01:24:31 -0300 |
---|---|---|
committer | Caio Schnepper <caioschnepper@gmail.com> | 2015-10-11 01:42:51 -0300 |
commit | ac45a901992069e2dfba605557aae2261b7227fc (patch) | |
tree | da67d7297ab7c2d48305a5e4be6aa4cfceb42ca6 /rootdir | |
parent | da596530e975a6f038911433df08c02a8288d641 (diff) | |
download | device_samsung_galaxys2-common-ac45a901992069e2dfba605557aae2261b7227fc.zip device_samsung_galaxys2-common-ac45a901992069e2dfba605557aae2261b7227fc.tar.gz device_samsung_galaxys2-common-ac45a901992069e2dfba605557aae2261b7227fc.tar.bz2 |
galaxys2-common: Enable zRAM [1/2]
-zRAM size is set to 256mb, common and recommended value by OEMs
-Needs http://review.cyanogenmod.org/#/c/111997
Change-Id: I37a83d89774dc606269e8e211110fedd967041dc
Diffstat (limited to 'rootdir')
-rwxr-xr-x | rootdir/fstab.smdk4210 | 3 | ||||
-rw-r--r-- | rootdir/init.smdk4210.rc | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/rootdir/fstab.smdk4210 b/rootdir/fstab.smdk4210 index cf03e47..8be4044 100755 --- a/rootdir/fstab.smdk4210 +++ b/rootdir/fstab.smdk4210 @@ -18,3 +18,6 @@ # recovery /dev/block/mmcblk0p5 /boot emmc defaults recoveryonly /dev/block/mmcblk0p6 /recovery emmc defaults recoveryonly + +# zRAM +/dev/block/zram0 none swap defaults zramsize=268435456 diff --git a/rootdir/init.smdk4210.rc b/rootdir/init.smdk4210.rc index 4afec6f..3f00650 100644 --- a/rootdir/init.smdk4210.rc +++ b/rootdir/init.smdk4210.rc @@ -31,6 +31,7 @@ on init on fs mount_all /fstab.smdk4210 + swapon_all /fstab.smdk4210 mkdir /efs/bluetooth mkdir /efs/wifi |