Re: [PATCH] mm: avoid dirtying shared mappings on mlock

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nick Piggin
Date: Thursday, October 11, 2007 - 10:07 am

On Friday 12 October 2007 02:57, Nick Piggin wrote:

Found it, but no more clues. Presumably it's some horrible
google workload... they're pretty happy to carry these kinds
of patches internally, right? ;)



Yeah, I really would rather not do this. If we actually go
through the whole fault path in mlock, then it doesn't
really matter what future baggage we attach to fault handlers...
(OK, we still technically have some problems with invalidations,
but mostly they're avoidable unless doing something silly).

How about just doing another PROT_READ mmap, and mlocking that?
(I was going to suggest another syscall, but that's probably
overkill).
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] mm: avoid dirtying shared mappings on mlock, Nick Piggin, (Thu Oct 11, 10:07 am)
Re: [PATCH] mm: avoid dirtying shared mappings on mlock, Nick Piggin, (Thu Oct 11, 11:14 am)
Re: [PATCH] Don't needlessly dirty mlocked pages when init ..., Suleiman Souhlal, (Thu Oct 11, 11:50 pm)
[PATCH] mm: avoid dirtying shared mappings on mlock, Peter Zijlstra, (Fri Oct 12, 2:03 am)
Re: [PATCH] mm: avoid dirtying shared mappings on mlock, Peter Zijlstra, (Fri Oct 12, 3:37 am)
Re: [PATCH] mm: avoid dirtying shared mappings on mlock, Peter Zijlstra, (Fri Oct 12, 3:50 am)
Re: [PATCH] mm: avoid dirtying shared mappings on mlock, Arjan van de Ven, (Fri Oct 12, 7:53 am)
Re: [PATCH] mm: avoid dirtying shared mappings on mlock, Peter Zijlstra, (Fri Oct 12, 7:58 am)
Re: [PATCH] mm: avoid dirtying shared mappings on mlock, Suleiman Souhlal, (Fri Oct 12, 10:45 am)
Re: [PATCH] mm: avoid dirtying shared mappings on mlock, Arjan van de Ven, (Fri Oct 12, 10:53 am)
Re: [PATCH] mm: avoid dirtying shared mappings on mlock, Peter Zijlstra, (Fri Oct 12, 11:02 am)