[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080910234523.GK20815@postel.suug.ch>
Date: Thu, 11 Sep 2008 01:45:23 +0200
From: Thomas Graf <tgraf@...g.ch>
To: Paul Menage <menage@...gle.com>
Cc: Ranjit Manomohan <ranjitm@...gle.com>, davem@...emloft.net,
akpm@...ux-foundation.org, kaber@...sh.net, lizf@...fujitsu.com,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH 1/2] Traffic control cgroups subsystem
* Paul Menage <menage@...gle.com> 2008-09-10 16:31
> Yes, for this particular case it doesn't work. But isn't it much more
> likely that the admin/user will know that web-browsers tend to trigger
> bulk data transfers and configure the system so that the web browser
> always starts in its own cgroup, rather than trying to jump on it
> after the fact?
That's argueable I guess. Likely or not, it doesn't make sense to
add such restrictions if not required, especially not when it is
trivial to just look at the cgroup of the task directly.
If the ingress case is of such importance, I'd propose to lookup
the classid via skb -> socket -> task -> classid.
Anyways, I think we've listed all the pros and cons of either approach.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists