lkml.org 
[lkml]   [2010]   [Jan]   [8]   [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 Fri, 8 Jan 2010, Andi Kleen wrote:
>
> With 24 CPU threads cheating is very difficult too.

Stop making value judgements in you word choice, like "cheating".

The fact is, the mmap_sem is per-mm, and works perfectly well. Other
locking can be vma-specific, but as already mentioned, it's not going to
_help_, since most of the time even hugely threaded programs will be using
malloc-like functionality and you have allocations not only cross threads,
but in general using the same vma.

Another fact is simply that you shouldn't write your app so that it needs
to do millions of page faults per second.

So this whole "cheating" argument of yours is total bullshit. It bears no
relation to reality.

Linus


\
 
 \ /
  Last update: 2010-01-08 20:43    [W:0.128 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site