Re: Containers: css_put() dilemma

From: Paul (宝瑠) Menage
Date: Wed Jul 18 2007 - 02:07:32 EST


On 7/17/07, Balbir Singh <balbir@xxxxxxxxxxxxxxxxxx> wrote:

Ok.. so my problem still remains, how do I get a non-blocking atomic
reference increment/decrement routine, that would prevent my
container from being deleted?

css_put() in my new patchset will be non-blocking.


I don't find cpusets using css_put().

Cpusets never needs to keep a non-process reference on a cpuset
object, so the framework handles everything.

Paul
-
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/