Re: Slow pthread_create() under high load

From: Mike Castle (dalgoda@ix.netcom.com)
Date: Tue Mar 28 2000 - 20:49:25 EST


On Tue, Mar 28, 2000 at 03:42:30PM -0800, Jeremy Fitzhardinge wrote:
> Yes, but it needn't be as complex as putting locking everywhere. In the
> case where there was no shared credential change, the fast path is still
> pretty fast.

Don't you still need to lock/make use of credential/unlock? Otherwise you
have a race condition on SMP boxes.

mrc

-- 
       Mike Castle       Life is like a clock:  You can work constantly
  dalgoda@ix.netcom.com  and be right all the time, or not work at all
www.netcom.com/~dalgoda/ and be right at least twice a day.  -- mrc
    We are all of us living in the shadow of Manhattan.  -- Watchmen

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



This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:23 EST