[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 4 Apr 2008 18:46:53 +0900
From: "Satoshi UCHIDA" <s-uchida@...jp.nec.com>
To: "'Paul Menage'" <menage@...gle.com>
Cc: <linux-kernel@...r.kernel.org>,
<containers@...ts.linux-foundation.org>, <axboe@...nel.dk>,
<tom-sugawara@...jp.nec.com>, <m-takahashi@...jp.nec.com>
Subject: RE: [RFC][patch 8/11][CFQ-cgroup] Control cfq_data per cgroup
Hi,
>
> On Thu, Apr 3, 2008 at 11:20 PM, Satoshi UCHIDA <s-uchida@...jp.nec.com>
> wrote:
> >
> > So that you say, root subsystem state maybe keep a reference locally.
> > For example, create a variable for root subsystem state and
> > store the pointer when making subsystem state first.
>
> Yes, that's what I'm suggesting.
>
> >
> > However, I think that it is smart to calculate root group of subsystems
> > when needing its information.
>
> I don't see why it's better to go through the cgroup subsystem to
> retrieve the reference.
>
If program have temporary data, it may cause inconsistency.
I think that information should be referred to original(control mechanism).
Information of cgroup is controlled at cgroup subsystem (and cgroupfs_root).
So, I think that it's better to query into cgroup subsystem.
Now, cgroup susbsystem would not change root group.
Therefore, system would also runs by your suggestion.
I will consider this issue.
Thanks,
Satoshi UCHIDA.
--
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