[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070717105341.9e51cc79.pj@sgi.com>
Date: Tue, 17 Jul 2007 10:53:41 -0700
From: Paul Jackson <pj@....com>
To: balbir@...ux.vnet.ibm.com
Cc: menage@...gle.com, dhaval@...ux.vnet.ibm.com, xemul@...ru,
linux-kernel@...r.kernel.org, containers@...ts.osdl.org,
akpm@...ux-foundation.org
Subject: Re: Containers: css_put() dilemma
> That sounds correct. I wonder now if the solution should be some form
> of delegation for deletion of unreferenced containers (HINT: work queue
> or kernel threads).
At least for cpusets (the mother of all containers), notify on release
is part of the user visible API of cpusets. The kernel does not remove
cpusets; it runs a user program, /sbin/cpuset_release_agent. That
program might choose to rmdir the cpuset directory, and/or do other
actions, like notify a batch scheduler that one of its cpusets was
released.
That API is not as sacrosanct as some, but it is working, and I wouldn't
want to break it without good reason.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@....com> 1.925.600.0401
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists