lkml.org 
[lkml]   [2010]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: linux-next: add utrace tree


On Wed, 27 Jan 2010, Peter Zijlstra wrote:
>
> Right, so there's two aspects:
>
> 1) concurrency when inserting the probe

That's the one I worried about. Stopping all threads will fix it,
obviously at a disastrous performance cost, but what do I care? As noted,
there are ways to do it safely with TLB switching, so it's fixable.

> 2) concurrency when hitting the probe

Yeah, I didn't worry about this part, since the only solution is the
out-of-line one, and I don't much care how the memory gets allocated for
it. Inserting a whole new vma seems pretty drastic, but compared to
stopping all threads, it's a small thing.

Linus


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