Hi Anthony, Can you please elaborate on the solution ? Thanks, -Naseer
On May 14, 11:08 pm, Anthony <[email protected]> wrote: > This turned out to be an issue in ashmem.c and has been resolved. > > > > > > On Thu, May 13, 2010 at 10:42 PM, Seth Forshee <[email protected]> wrote: > > On Wed, May 12, 2010 at 02:48:16PM -0500, Seth Forshee wrote: > >> +static inline int other_file_pages(void) > >> +{ > >> +#ifdef CONFIG_SWAP > >> + return global_page_state(NR_FILE_PAGES); > >> +#else > >> + return global_page_state(NR_ACTIVE_FILE) + > >> + global_page_state(NR_INACTIVE_FILE); > >> +#endif > >> +} > > > Maybe instead of this we could just use global_reclaimable_pages(). This > > will make the lowmemkiller less aggressive for systems with swap than it > > is currently as it will include all pages on the anonymous lrus, not > > just those in the page cache, but maybe that's appropriate (probably > > there are few or none Android systems using swap anyway). Any comments? > > > -- > > unsubscribe: [email protected] > > website:http://groups.google.com/group/android-kernel > > -- > unsubscribe: [email protected] > website:http://groups.google.com/group/android-kernel -- unsubscribe: [email protected] website: http://groups.google.com/group/android-kernel
