Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: threaded programs report bogus process size ?



Hello,

christos%zoulas.com@localhost (Christos Zoulas) wrote:
> | Looking from tail is not good for cache, I think PTQ_FIRST() should be
> | attempted first.  Otherwise, loop looks OK to me.
> | 
> | Though _lwp_kill() with lock held might have small effect to concurrency,
> | but it's very unlikely case, especially if do unlocked check for PTQ_FIRST
> | ().
> 
> then s/_REVERSE// instead...

After re-thinking... s/_REVERSE// should be enough, not worth complicating.

Please commit.

-- 
Mindaugas


Home | Main Index | Thread Index | Old Index