Re: [rfc][patch] Avoid taking global tasklist_lock for single threadedprocess at getrusage()

Christoph Lameter
2006-01-06T17:23:49Z

On Fri, 6 Jan 2006, Ravikiran G Thirumalai wrote:

> + need_lock = !(p == current && thread_group_empty(p));

Isnt

need_lock = (p != current || !thread_group_empty(b))

clearer?