Re: [PATCH] mm: migration: Use rcu_dereference_protected when dereferencing the radix tree slot during file page migration

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

On Tue, Dec 21, 2010 at 9:26 PM, Mel Gorman <mel@csn.ul.ie> wrote:

Yes.
I think if we want to reduce RCU read lock hold time, we should look
unmap_and_move in case of anon page.
After we hold a reference of anon_vma->external_refcount, anon_vma
would be stable so we can release rcu_read_unlock.
It can save many time.

Reviewed-by: Minchan Kim <minchan.kim@gmail.com>

This is what I want.
Thanks.

-- 
Kind regards,
Minchan Kim
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] mm: migration: Use rcu_dereference_protected w ..., Minchan Kim, (Tue Dec 21, 7:10 pm)
Re: [PATCH] mm: migration: Use rcu_dereference_protected w ..., KAMEZAWA Hiroyuki, (Wed Dec 22, 1:56 am)