[maemo-developers] Out Of Memory handling in Maemo

From: Karthik Murugesan karthik4tech at gmail.com
Date: Tue Feb 12 09:40:43 EET 2008
Hello all,
    I am trying to understand Out of Memory Handling in Maemo for my
thesis. As per the my understanding (based on the documentation  and
browsing through libosso code). some module raises the  Dbus signals
com.nokia.ke_recv.lowmem_on/lowmem_off  which is dispatched via DBUS
to some other module( WM or AS) which does the actual termination of
the LRU application based on the hibernation mode.

   But I am not able to correlate on who raises the lowmem_on/off dbus
signal and which function/module actually kills the application.

   Is "/proc/sys/vm/lowmem_notify_high" used to listen for low memory
conditions? If yes, How (by polling?) and which module does it.

   Whats the purpose of "/proc/sys/vm/lowmem_deny_watermark"? Is it to
prevent launching new applications?

   I will really thankful, if someone can provide me some pointers in
the code/guidance regarding this.

Thanks in Advance
Karthik M | kaarthik.wordpress.com

More information about the maemo-developers mailing list