Messages in this thread |  | | Date | Mon, 9 Apr 2012 18:37:58 -0700 | | Subject | Re: v3.4-rc2 out-of-memory problems (was Re: 3.4-rc1 sticks-and-crashs) | | From | Colin Cross <> |
| |
On Mon, Apr 9, 2012 at 6:33 PM, David Rientjes <rientjes@google.com> wrote: > On Mon, 9 Apr 2012, Colin Cross wrote: > >> Before Anton's fix, iterating the tasklist involved taking every task >> lock, which probably made it very expensive. > > I'm not sure of the fix you're referring to, but it's not in 3.4-rc2 > because lowmem_shrink() still does find_lock_task_mm() for every user > process on the system, which is necessary to safely do get_mm_rss().
I confused "staging: android/lowmemorykiller: Don't grab tasklist_lock" and "staging: android/lowmemorykiller: Better mm handling". You're right, it still grabs the task lock.
|  |