Re: [patch 8/6] mm: fix cpdfio vs fault race

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Nick Piggin <npiggin@...>, <miklos@...>, Linux Memory Management List <linux-mm@...>, <linux-kernel@...>, Linus Torvalds <torvalds@...>
Date: Wednesday, March 7, 2007 - 7:34 am

On Wed, 7 Mar 2007 03:20:38 -0800 Andrew Morton <akpm@linux-foundation.org> wrote:


Or will it?  Suppose after the unlock_page() a _second_
clear_page_dirty_for_io() gets run - the same thing happens?

Extending the lock_page() coverage around the set_page_dirty() would
prevent that.

I guess not needed - the second clear_page_dirty_for_io() will have cleaned the
pte.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [patch 8/6] mm: fix cpdfio vs fault race, Andrew Morton, (Wed Mar 7, 7:20 am)
Re: [patch 8/6] mm: fix cpdfio vs fault race, Andrew Morton, (Wed Mar 7, 7:34 am)
Re: [patch 8/6] mm: fix cpdfio vs fault race, Nick Piggin, (Wed Mar 7, 7:37 am)
Re: [patch 8/6] mm: fix cpdfio vs fault race, Nick Piggin, (Wed Mar 7, 7:31 am)
Re: [patch 8/6] mm: fix cpdfio vs fault race, Andrew Morton, (Wed Mar 7, 5:02 pm)
Re: [patch 8/6] mm: fix cpdfio vs fault race, Nick Piggin, (Thu Mar 8, 1:50 am)
Re: [patch 8/6] mm: fix cpdfio vs fault race, Linus Torvalds, (Wed Mar 7, 5:33 pm)