[Samsung Galaxy W I8150] tycoo:
op updated with

JAKStage6_UV_HM407MB - 3.4.94 - for ROMS since and based on Cyanogenmod 11.0 (20140616-UNOFFICIAL)

New build based on new KK2.7 CAF-Branch provided for samsung msm7x30 devices by Christopher83 & arco68!

Credits & thanks again to [MENTION=4825437]Christopher83[/MENTION] [MENTION=3044346]arco68[/MENTION] [MENTION=4723408]hurtsky[/MENTION] [MENTION=5450821]sir mordred[/MENTION] for their fantastic work and kernel sources, my build is up to 95% or more based on! I just reorganized most things for my needs and merged them together again.

Attention:

With installing the kernel, vm swappiness will be set to 85.

Zram will be set to a default size of 230MB via init script provided by [MENTION=5041268]ktulu84[/MENTION] Thank you.

Some do not kill processes for the 'LowMemoryKiller management of not killable processes' will be set via init script too. Credits to Christopher83 again.

To disable the zram script and use the default rom value again, just remove the file 'zram_high' placed in the folder '/system/etc/init.d/'.

Explanation for these changes:

In my experience the new lz4 compressed zram does a good job for very high memory demanding system configurations.

The i/o speed will possibly decrease, but in my understanding we will benefit due to the fact, that most processes can be swapped now faster and are not forced to be closed & have to restart later again. So at the end the overall performance will be better, hopefully.

What else:

undervolted highmem version

disabled KSM on kernel side

enabled QuickWakeup Driver again

some minor zram & lmk updates and changes

Last 180 commits.. (look into my git for more):

- mm: vmscan: Raised swappiness to 85 (credits to tycoo)
- msm7x30: Use CMA for PMEM ADSP (credits to Cristoforo Cataldo)
- misc: pmem: Add support for CMA (credits to Rudolf Tammekivi)
- msm7x30: Disable unsupported features (credits to Rudolf Tammekivi)
- msm: restart_7k: Disable local IRQ interrupt (credits to Tirupathi Reddy)
- msm: rpc: add shutdown and restart handler for rpc (credits to Arun Kumar Neelakantam)
- msm: rpc: add shutdown and restart handler for rpc (credits to Angshuman Sarkar)
- staging: android: lmk_do_not_kill: Raised number of managed process types (credits to tycoo)
- staging: android: lmk: Avoid to kill core apps (credits to tycoo)
- gpu: ion: Explictly mark DMA allocations as GFP_KERNEL (credits to Laura Abbott)
- gpu: ion: Don't call virt_to_page on addresses from dma_alloc (credits to Laura Abbott)
- mm: compaction: fix bit ranges in {get,clear,set}_pageblock_skip() (credits to Bartlomiej Zolnierkiewicz)
- mm: make is_vmalloc_addr lockless (credits to Laura Abbott)
- mm: Update is_vmalloc_addr to account for vmalloc savings (credits to Laura Abbott)
- mm: panic on the first bad page table entry access (credits to Pushkar Joshi)
- kernel/lib: add additional debug capabilites for data corruption (credits to Syed Rameez Mustafa)
- msm: Increase the kernel virtual area to include lowmem (credits to Neeti Desai)
- msm: Allow lowmem to be non contiguous and mixed. (credits to Neeti Desai)
- ARM: dma-mapping: remove custom consistent dma region (credits to Marek Szyprowski)
- mm: vmalloc: use const void * for caller argument (credits to Marek Szyprowski)
- ARM: dma-mapping: fix incorrect freeing of atomic allocations (credits to Aaro Koskinen)
- dma-contiguous: Return 'zero' pfn in case of error (credits to Chintan Pandya)
- cma: Drop the right mutex (credits to Laura Abbott)
- cma: Make locking finer grained (credits to Laura Abbott)
- cma: Add support for memory limits (credits to Laura Abbott)
- cma: Remove potential deadlock situation (credits to Laura Abbott)
- cma: Add API to get the start address of a CMA region (credits to Laura Abbott)
- cma: use MEMBLOCK_ALLOC_ANYWHERE for placing CMA regions (credits to Laura Abbott)
- cma: Remove restriction on region names (credits to Laura Abbott)
- cma: Add support for associating regions by name (credits to Laura Abbott)
- cma: Fix up devicetree bindings (credits to Laura Abbott)
- cma: Remove __init annotations from data structures (credits to Laura Abbott)
- drivers: dma-contiguous: add initialization from device tree (credits to Marek Szyprowski)
- drivers: dma-contiguous: clean source code and prepare for device tree (credits to Marek Szyprowski)
- mm: cma: fix condition check when setting global cma area (credits to Marek Szyprowski)
- drivers: dma-contiguous: refactor dma_alloc_from_contiguous() (credits to Michal Nazarewicz)
- drivers: cma: represent physical addresses as phys_addr_t (credits to Vitaly Andrianov)
- mm: cma: fix alignment requirements for contiguous regions (credits to Marek Szyprowski)
- sec_jack: updated driver (credits to Gottardo Stefano)
- msm7x30: Disable use of GLibC versions of memcpy and memmove by default (credits to tycoo)
- arm: Add a config option to use GLibC memcpy and memmove versions (credits to Cristoforo Cataldo)
- msm: kgsl: Add an input handler to power up the GPU on a touch event (credits to Tk-Glitch)
- board-ancora: tune very high mem allocation (credits to Hurtsky)
- ancora/ariesve: High memory allocations (credits to Hurtsky)
- acpuclock-7x30: Raised some standard UV and stock voltages for high OC cpu frequencies (credits to Cristoforo Cataldo)
- cpufreq: CPU Voltage Control (VDD sysfs interface) (credits to Cristoforo Cataldo)
- acpuclock-7x30: Increased cpu frequency on boot (credits to Cristoforo Cataldo)
- acpuclock-7x30: Added overclocking and undervolting support (credits to Cristoforo Cataldo)
- ancora: Lowered display panel voltage (credits to madridii)
- ancora: Lowered WIFI voltage (credits to madridii)
- ancora: Increased audio volume on board side (credits to madridii)
- power: ancora_battery: Increase battery check interval from 5 seconds to 15 seconds (credits to Cristoforo Cataldo)
- power: ancora_battery: Remove trailing spaces (credits to Cristoforo Cataldo)
- power: quickwakeup: initial driver (credits to Jared Suttles)
- Properly fix the 100% battery notification after charger unplug (credits to leroviten)
- power: 100% battery notification after charger unplug (credits to Cristoforo Cataldo)
- power: Added Battery Life eXtender (BLX) version 1 (Credits to Ezeekel) Adapted by Christopher83 for I9001 and I8150 devices - If the BLX charging limit is 10
- sched: Disabled Gentle Fair Sleepers for better UI performance (credits to Cristoforo Cataldo)
- fs: Asynchronous Fsync: Fix make defconfig warning (credits to hurtsky)
- Asynchronous Fsync: initial extraction of Async Fsync from HTC (credits to Paul Reioux)
- Allowed IPv6 over WIFI in general, we control it in ROM, + no wakelock! (credits to dorimanx)
- reduce wifi wakelock (credits to DerTeufel)
- suspend: enable freeze timeout configuration through sys (credits to Li Fei)
- Added BITS_PER_LONG_LONG definition avoiding lib/vsprintf.c errors. (credits to LaboDJ)
- audit: kiss goodbye you stupid piece of crap logging messages. (credits to Francisco Franco)
- Makefile: Use -fno-inline-functions to build with Linaro GCC 4.8 toolchains (credits to Cristoforo Cataldo)
- kernel/futex.c: Linux 3.4 compatibility fix up (credits to Paul Reioux)
- futex: Avoid taking hb lock if nothing to wakeup (credits to Davidlohr Bueso)
- futex: Document ordering guarantees (credits to Davidlohr Bueso)
- futex: Larger hash table (credits to Davidlohr Bueso)
- futex: Misc cleanups (credits to Davidlohr Bueso)
- swap: mem_cgroup_count_swap_user is unlocking wrong spinlock (credits to Kevin Wells)
- mm: page_alloc: retry direct compaction (credits to Jason Hrycay)
- cpufreq: Optimize cpufreq_frequency_table_verify() (credits to Viresh Kumar)
- rtmutex: Fix initialization (credits to Pranav Vashi)
- introduce for_each_thread() to replace the buggy while_each_thread() (credits to Oleg Nesterov)
- rcu: Add a module parameter to force use of expedited RCU primitives (credits to Antti P Miettinen)
- panic: resume console if panic after console suspend. (credits to shihhao.feng)
- jiffies conversions: Use compile time constants when possible (credits to Joe Perches)
- rcu: Yield simpler (credits to Thomas Gleixner)
- panic: force console_unlock() in panic() (credits to Bongkyu Kim)
- scripts/gen_initramfs_list.sh: fix flags for initramfs LZ4 compression (credits to Daniel M. Weeks)
- initramfs: read CONFIG_RD_ variables for initramfs compression (credits to P J P)
- writeback: remove nr_pages_dirtied arg from balance_dirty_pages_ratelimited_nr() (credits to Namjae Jeon)
- Optimize copy_page for modern ARM platforms (credits to Boy Petersen)
- ARM: module: add text.unlikely section to unwind (credits to Jason Hrycay)
- ARM: fix warning caused by wrongly typed arm_dma_limit (credits to Russell King)
- block: Reserve only one queue tag for sync IO if only 3 tags are available (credits to Jan Kara)
- block: account iowait time when waiting for completion of IO request (credits to Vladimir Davydov)
- sched: add wait_for_completion_io[_timeout] (credits to Vladimir Davydov)
- lib: vsprintf.c: stash vsprintf.c commits from upstream. (credits to Francisco Franco)
- lib/radix-tree.c: swapoff tmpfs radix_tree: remember to rcu_read_unlock (credits to Hugh Dickins)
- lib/radix-tree.c: make radix_tree_node_alloc() work correctly within interrupt (credits to Jan Kara)
- radix-tree: fix preload vector size (credits to Nick Piggin)
- staging: android: Fix three checkpatch issues in binder.c (credits to Pranav Vashi)
- binder: search for receiving context pid in global namespace (credits to Ricardo Mendoza)
- drivers: staging: Correct typo in debug (credits to Pranav Vashi)
- binder: NULL pointer reference (credits to Paresh Nakhe)
- staging: android: binder:add ioctl BINDER_GET_PEER_PID (credits to Yi-wei Zhao)
- logger: Add sys fs kernel interface to configure Android logger (credits to andip71)
- drivers/staging: Configurable android log buffer sizes (credits to Hurtsky)
- lowmemorykiller: Account for highmem during kswapd reclaim (credits to Liam Mark)
- staging: android: lmk: add rcu lock while test task flag (credits to Yi-wei Zhao)
- staging: android: lowmemorykiller: set TIF_MEMDIE before send kill sig (credits to Weijie Yang)
- staging: android: lmk: check TIF directly (credits to Yuanyuan Zhong)
- staging: android: lmk: skip if killed by lmk (credits to Yuanyuan Zhong)
- staging: android: lmk: check free memory when tasks switch to background (credits to Hong-Mei Li)
- staging: android: lowmemorykiller: implement task's adj rbtree (credits to Hong-Mei Li)
- staging: android: lowmemorykiller: select a new task to kill (credits to Yi-wei Zhao)
- staging: android: lowmemorykiller: Management of not killable processes (credits to Cristoforo Cataldo)
- fs/ext4: use rbtree postorder iteration helper instead of opencoding (credits to Cody P Schafer)
- rbtree: fix rbtree_postorder_for_each_entry_safe() iterator (credits to Jan Kara)
- trace/trace_stat: use rbtree postorder iteration helper instead of opencoding (credits to Cody P Schafer)
- rbtree: add rbtree_postorder_for_each_entry_safe() helper (credits to Cody P Schafer)
- rbtree: add postorder iteration functions (credits to Cody P Schafer)
- rbtree: include linux/compiler.h for definition of __always_inline (credits to Will Deacon)
- rbtree: fix incorrect rbtree node insertion in fs/proc/proc_sysctl.c (credits to Michel Lespinasse)
- lib/rbtree.c: avoid the use of non-static __always_inline (credits to Michel Lespinasse)
- rbtree: move augmented rbtree functionality to rbtree_augmented.h (credits to Michel Lespinasse)
- rbtree: add RB_DECLARE_CALLBACKS() macro (credits to Michel Lespinasse)
- rbtree: remove prior augmented rbtree implementation (credits to Michel Lespinasse)
- rbtree: faster augmented rbtree manipulation (credits to Michel Lespinasse)
- rbtree: low level optimizations in rb_erase() (credits to Michel Lespinasse)
- rbtree: handle 1-child recoloring in rb_erase() instead of rb_erase_color() (credits to Michel Lespinasse)
- rbtree: place easiest case first in rb_erase() (credits to Michel Lespinasse)
- rbtree: add __rb_change_child() helper function (credits to Michel Lespinasse)
- rbtree: optimize fetching of sibling node (credits to Michel Lespinasse)
- rbtree: coding style adjustments (credits to Michel Lespinasse)
- rbtree: low level optimizations in __rb_erase_color() (credits to Michel Lespinasse)
- rbtree: optimize case selection logic in __rb_erase_color() (credits to Michel Lespinasse)
- rbtree: adjust node color in __rb_erase_color() only when necessary (credits to Michel Lespinasse)
- perf tools: Fix build for another rbtree.c change (credits to Adrian Hunter)
- rbtree: low level optimizations in rb_insert_color() (credits to Michel Lespinasse)
- rbtree: adjust root color in rb_insert_color() only when necessary (credits to Michel Lespinasse)
- rbtree: break out of rb_insert_color loop after tree rotation (credits to Michel Lespinasse)
- rbtree: reference Documentation/rbtree.txt for usage instructions (credits to Michel Lespinasse)
- rbtree: move some implementation details from rbtree.h to rbtree.c (credits to Michel Lespinasse)
- rbtree: empty nodes have no color (credits to Michel Lespinasse)
- regmap: rbtree: Don't bother checking for noop updates (credits to Mark Brown)
- mm/kmemleak.c: remove obsolete simple_strtoul (credits to Abhijit Pawar)
- kmemleak: use rbtree instead of prio tree (credits to Michel Lespinasse)
- kmemleak: Replace list_for_each_continue_rcu with new interface (credits to Michael Wang)
- zram: correct offset usage in zram_bio_discard (credits to Weijie Yang)
- zram: support REQ_DISCARD (credits to Joonsoo Kim)
- zram: use scnprintf() in attrs show() methods (credits to Sergey Senozhatsky)
- zram: propagate error to user (credits to Minchan Kim)
- zram: return error-valued pointer from zcomp_create() (credits to Sergey Senozhatsky)
- zram: move comp allocation out of init_lock (credits to Sergey Senozhatsky)
- zram: add lz4 algorithm backend (credits to Sergey Senozhatsky)
- zram: make compression algorithm selection possible (credits to Sergey Senozhatsky)
- zram: add set_max_streams knob (credits to Sergey Senozhatsky)
- zram: add multi stream functionality (credits to Sergey Senozhatsky)
- zram: factor out single stream compression (credits to Sergey Senozhatsky)
- zram: use zcomp compressing backends (credits to Sergey Senozhatsky)
- zram: delete zram_init_device() (credits to Sergey Senozhatsky)
- zram: introduce compressing backend abstraction (credits to Sergey Senozhatsky)
- zram: move zram size warning to documentation (credits to Sergey Senozhatsky)
- zram: drop not used table `count' member (credits to Sergey Senozhatsky)
- zram: report failed read and write stats (credits to Sergey Senozhatsky)
- zram: remove zram stats code duplication (credits to Sergey Senozhatsky)
- zram: use atomic64_t for all zram stats (credits to Sergey Senozhatsky)
- zram: remove good and bad compress stats (credits to Sergey Senozhatsky)
- zram: do not pass rw argument to __zram_make_request() (credits to Sergey Senozhatsky)
- zram: drop `init_done' struct zram member (credits to Sergey Senozhatsky)
- zram: avoid null access when fail to alloc meta (credits to Minchan Kim)
- zram: remove zram->lock in read path and change it with mutex (credits to Minchan Kim)
- zram: remove workqueue for freeing removed pending slot (credits to Minchan Kim)
- zram: introduce zram->tb_lock (credits to Minchan Kim)
- zram: use atomic operation for stat (credits to Minchan Kim)
- zram: remove unnecessary free (credits to Minchan Kim)
- zram: delay pending free request in read path (credits to Minchan Kim)
- zram: fix race between reset and flushing pending work (credits to Minchan Kim)
- zram: add zram maintainers (credits to Minchan Kim)
- zram: add copyright (credits to Minchan Kim)
- zram: remove old private project comment (credits to Minchan Kim)
- zram: Add documentation (credits to Pranav Vashi)
- zram: promote zram from staging (credits to Pranav Vashi)
- staging: delete non-required instances of include <linux/init.h> (credits to Paul Gortmaker)
- zsmalloc: add more comment (credits to Nitin Cupta)
- zsmalloc: add Kconfig for enabling page table method (credits to Minchan Kim)