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 Mon, Dec 20, 2010 at 03:23:36PM +0000, Mel Gorman wrote:

This was a bad idea. After some extended testing, it was obvious that
this function can be called for swapcache pages with the RCU lock held.
Paul, is it still permissible to use rcu_dereference_protected() or must
the RCU read lock not be held?


-- 
Mel Gorman
Part-time Phd Student                          Linux Technology Center
University of Limerick                         IBM Dublin Software Lab
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] mm: migration: Use rcu_dereference_protected w ..., Mel Gorman, (Mon Dec 20, 10:01 am)
Re: [PATCH] mm: migration: Use rcu_dereference_protected w ..., KAMEZAWA Hiroyuki, (Wed Dec 22, 1:56 am)