On Mon, Apr 9, 2012 at 6:33 PM, David Rientjes <[email protected]> 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. -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
