lkml.org 
[lkml]   [2010]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH 6/8] mm: handle_speculative_fault()


On Thu, 7 Jan 2010, Linus Torvalds wrote:
>
> Again, it doesn't matter. Old or new - if some other thread looks up the
> vma, either is fine.

Btw, don't get me wrong. That patch may compile (I checked it), but I am
not in any way claiming that it is anything else than a total throw-away
"this is something we could look at doing" suggestion.

For example, I'm not at all wedded to using 'mm->page_table_lock': I in
fact wanted to use a per-vma lock, but I picked a lock we already had. The
fact that picking a lock we already had also means that it serializes page
table updates (sometimes) is actually a downside, not a good thing.

So the patch was meant to get people thinking about alternatives, rather
than anything else.

The point being that there are things we can play with on mmap_sem, that
don't involve getting rid of it - just being a bit more aggressive in how
we use it.

Linus


\
 
 \ /
  Last update: 2010-01-07 21:17    [W:0.441 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site