[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20061031133149.GC9588@in.ibm.com>
Date: Tue, 31 Oct 2006 19:01:49 +0530
From: Srivatsa Vaddagiri <vatsa@...ibm.com>
To: "Paul Menage" <menage@...gle.com>
Cc: dev@...nvz.org, sekharan@...ibm.com,
ckrm-tech@...ts.sourceforge.net, balbir@...ibm.com,
haveblue@...ibm.com, linux-kernel@...r.kernel.org,
Paul Jackson <pj@....com>, matthltc@...ibm.com,
dipankar@...ibm.com, rohitseth@...gle.com
Subject: Re: [ckrm-tech] [RFC] Resource Management - Infrastructure choices
On Tue, Oct 31, 2006 at 05:23:43PM +0530, Srivatsa Vaddagiri wrote:
> mount -t container -ocpu container /dev/cpu
>
> -> Represents a hierarchy for cpu control purpose.
>
> tsk->cpurc = represent the node in the cpu
> controller hierarchy. Also maintains
> resource allocation information for
> this node.
I suspect this will lead to code like:
if (something->..->options == cpu)
tsk->cpurc = ..
else if (something->..->options == mem)
tsk->memrc = ..
Dont know enough of filesystems atm to say if such code is avoidable.
--
Regards,
vatsa
-
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