Re: [PATCH] Optimize page_remove_rmap for anon pages

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <schwidefsky@...>
Cc: <linux-mm@...>, <linux-kernel@...>, <linux-s390@...>
Date: Tuesday, June 3, 2008 - 4:29 am

On Tuesday 03 June 2008 18:06, Martin Schwidefsky wrote:

pte dirty bit is checked in zap_pte_range. In do_wp_page, the pte dirty
bit is not checked because it cannot have been dirtied via that mapping.
However, this may not necessarily be true in the s390 case where it might
be dirtied by _another_ mapping which has subsequently exited but not
propogated the physical dirty bit (I don't know, but I'm just wary about
it).



I guess it's worth exploring.



Hmm, I guess you _could_ set_page_dirty in mprotect.



I guess it is just to match SetPageUptodate. Not all __SetPageUptodate
paths may necessarily dirty the page, FWIW.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Optimize page_remove_rmap for anon pages, Martin Schwidefsky, (Thu May 29, 9:56 am)
Re: [PATCH] Optimize page_remove_rmap for anon pages, Nick Piggin, (Mon Jun 2, 7:57 pm)
Re: [PATCH] Optimize page_remove_rmap for anon pages, Martin Schwidefsky, (Tue Jun 3, 4:06 am)
Re: [PATCH] Optimize page_remove_rmap for anon pages, Nick Piggin, (Tue Jun 3, 4:29 am)
Re: [PATCH] Optimize page_remove_rmap for anon pages, Martin Schwidefsky, (Tue Jun 3, 6:48 am)