Re: [PATCH 6/6] Makes procs file writable to move all threads bytgid at once

From: Peter Zijlstra
Date: Thu Aug 06 2009 - 11:25:20 EST


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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/