lkml.org 
[lkml]   [2009]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 6/6] Makes procs file writable to move all threads by tgid at once
From
Date
On Thu, 2009-08-06 at 08:19 -0700, Paul E. McKenney wrote:
>
> > So yes, putting a rwsem in there sounds fine, you're already bouncing
> > it.
>
> If the critical section is small, is an rwsem really better than a
> straight mutex?

Well, my understanding was that it needed to surround much, if not all,
of clone(). That's a rather large bit of code.



\
 
 \ /
  Last update: 2009-08-06 17:27    [W:0.057 / U:22.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site