[Samsung Galaxy W I8150] hurtsky:
All start on boot default for - Dynamic management of timer slack , LowMemoryKiller management of not killable processes Already been removed !

- USE PERFORMANCE CONTROL to enable it > http://xdaforums.com/showthread.php?t=2401988

Settings of The Available Features

partly been taken from Christopher explanation thread - http://xdaforums.com/showthread.php?t=2172148 all credit go to Christopher83 please thank he for prepare this detail of function

LowMemoryKiller management of not killable processes

This feature allows to define processes and system processes white-lists filled with the preferred process names and to not be killed by lowmemorykiller, unless it is absolutely necessary.

This feature exposes four new lowmemorykiller parameters:

- donotkill_proc, is the flag to enable / disable this feature for the processes chosen by the user

- donotkill_sysproc, is the flag to enable / disable this feature for the system processes chosen by the user

- donotkill_proc_names, is the list of process names (comma separated) chosen by the user to be preserved from killing

- donotkill_sysproc_names, is the list of user system process names (comma separated) chosen by the user to be preserved from killing

When the lowmemorykiller needs to free ram, it will first kill the processes not included inside the two process name lists chosen by the user.

If there are no more standard killable processes, then it will be necessary to kill one of the processes included inside one of the two white-lists, to prevent system hangs, slowdowns, etc.

How to customize the white lists of processes to preserve from killing:

On HurtSky's Kernel the feature is enabled by default and the provided processes white lists are the following:

- donotkill_proc_names = "com.cyanogenmod.trebuchet,com,android.inputmethod.latin"

this means that Trebuchet Launcher,stock keyboard will be preserved from killing

- donotkill_sysproc_names = "android.process.acore,com.android.phone,com."

this means that the system process, the phone process will be preserved from killing

1) By using a customized init.d script (the custom value will be always restored after a reboot, if you don't format the system partition)

- Download the script named 80dnkp

- If the file has been saved with .txt extension (stock browser), rename it by removing the .txt extension

- Edit the file by setting your preferred status and processes list

- Copy the new file inside /etc/init.d

- Give the rwxr-xr-x permissions to the file (read, write, execution for owner, read and execution for group users, read and execution for others)

- Reboot

2) By directly editing the files inside /sys/module/lowmemorykiller/parameters (note that set values will be lost after a reboot/shutdown)

3) By using Terminal Emulator (note that set values will be lost after a reboot/shutdown)

- Open Terminal Emulator

- Run these commands if you want to enable the feature

# To enable this feature for the processes chosen by the user
echo 1 > /sys/module/lowmemorykiller/parameters/donotkill_proc
# To enable this feature for the system processes chosen by the user
echo 1 > /sys/module/lowmemorykiller/parameters/donotkill_sysproc

- Run these commands if you want to disable the feature

# To disable this feature for the processes chosen by the user
echo 0 > /sys/module/lowmemorykiller/parameters/donotkill_proc
# To disable this feature for the system processes chosen by the user
echo 0 > /sys/module/lowmemorykiller/parameters/donotkill_sysproc

- Run this command if you want to add, for example, Trebuchet Launcher (CM default launcher) and the default keyboard to the processes white list

echo "com.cyanogenmod.trebuchet,android.inputmethod.latin" > /sys/module/lowmemorykiller/parameters/donotkill_proc_names

- Run this command if you want to add, for example, the system process, the phone process and DSP Manager to the system processes white list

echo "android.process.acore,com.android.phone,com.bel.android.dspmanager" > /sys/module/lowmemorykiller/parameters/donotkill_sysproc_names

ultra ksm

UKSM is more optimized and also working for single core systems. using this should give much better ram usage, but at the cost of more cpu usage - ( it seems latest version of UKSM optimized for battery usage also )

In this kernel the UKSM off by default -

How to stop and re-run :

to stop uksm run:

echo 0 > /sys/kernel/mm/uksm/run

for re- run:

echo 1 > /sys/kernel/mm/uksm/run

Redirect to this post if users want to enable it on boot > http://xdaforums.com/showpost.php?p=44606319&postcount=880

This UKSM can be tweaked more by visiting this thread http://xdaforums.com/showthread.php?p=44531620

thanks for [MENTION=4794891]eryzerz[/MENTION] for informing this