login
Header Space

 
 

Re: [PATCH 3/3] ia64: Call migration code on correctable errors v3

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Russ Anderson <rja@...>
Cc: <linux-kernel@...>, <linux-ia64@...>, Linus Torvalds <torvalds@...>, Andrew Morton <akpm@...>, Tony Luck <tony.luck@...>
Date: Friday, May 9, 2008 - 5:03 pm

On Fri, 9 May 2008, Russ Anderson wrote:


The page migration functions expect to be called in non atomic contexts 
since they use things like lock_page(). Can you just drop the irq disable? 
The spinlock should not be there either. Page migration serialize via 
the LRU. Pages that are to be migrated have to be taken off the LRU 
first. There is no danger of two threads trying to migrate the same 
page because the second one will not be able to take it off the LRU 
anymore.



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

Messages in current thread:
Re: [PATCH 3/3] ia64: Call migration code on correctable err..., Christoph Lameter, (Fri May 9, 5:03 pm)
speck-geostationary