Re: [PATCH] cpuset semaphore depth check optimize

From: Robin Holt
Date: Tue Sep 20 2005 - 07:21:54 EST


Wow, too early in the morning... Aside from other typoes

> If we can agree on that, then the exit path becomes
> if (atomic_dec_and_lock(&current->cpuset.refcount)) {

if (atomic_dec_and_lock(&cs->refcount, &cs->parent->child_list)

Sorry,
Robin
-
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/