In android "lowmemorykiller.c" file has been added for more advantageous memory management. ActivityManager.MemoryInfo uses ActivityManager.getMemoryInfo. The call into the system service ends up in ActivityManagerService.getMemoryInfo, where it checks if available memory is less than some threshold. And thus determines whether it is in low memory condition or not.
Can I get some help in understanding the point as in where the flag (which is set on lowmemory) is monitored and how a callback is linked to the lowmem_shrink function in lower layers (i.e., kernel/drivers) -- With regards, Sandeep Kumar Anantapalli, -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
