lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120814133053.GD18731@hmsreliant.think-freely.org>
Date:	Tue, 14 Aug 2012 09:30:53 -0400
From:	Neil Horman <nhorman@...driver.com>
To:	Daniel Wagner <wagi@...om.org>
Cc:	netdev@...r.kernel.org, cgroups@...r.kernel.org,
	Daniel Wagner <daniel.wagner@...-carit.de>,
	"David S. Miller" <davem@...emloft.net>,
	Al Viro <viro@...iv.linux.org.uk>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Eric Dumazet <edumazet@...gle.com>,
	Gao feng <gaofeng@...fujitsu.com>,
	Glauber Costa <glommer@...allels.com>,
	Jamal Hadi Salim <jhs@...atatu.com>,
	John Fastabend <john.r.fastabend@...el.com>,
	Kamezawa Hiroyuki <kamezawa.hiroyu@...fujitsu.com>,
	Li Zefan <lizefan@...wei.com>, Tejun Heo <tj@...nel.org>,
	Tim Chen <tim.c.chen@...ux.intel.com>
Subject: Re: [PATCH v3 0/6]  cgroup cls & netprio 'cleanups'

On Tue, Aug 14, 2012 at 03:25:50PM +0200, Daniel Wagner wrote:
> Hi Neil,
> 
> On 14.08.2012 15:10, Neil Horman wrote:
> >On Tue, Aug 14, 2012 at 03:02:16PM +0200, Daniel Wagner wrote:
> >>From: Daniel Wagner <daniel.wagner@...-carit.de>
> >>
> >>Hi,
> >>
> >>Sorry for the delay on updating this series. The usual
> >>excuse apply here.
> >>
> >>I saw that John is busy improving net_prio so I took the
> >>liberty to port his changes to net_cls (#1-3). Patch #3 will
> >>collide with John's unapplied patches. I am happy
> >>to rebase this series if needed.
> >>
> >>Patch #4 and #5 improve the readability with using
> >>IS_MODULE/BUILTIN macros. This patches prepare the last
> >>patch.
> >>
> >>Patch #6 removes support for assigning subsystem IDs during
> >>runtime. As it turns out this is not really needed. By doing
> >>so we are able to free some unused memory.
> >>
> >>The patches are against net-next.
> >>
> >>cheers,
> >>daniel
> >>
> >These aren't so much 'cleanups' as feature enhancements and fixes for the first
> >pass of those enhancements (at least in the case of the net_prio cgroup).
> 
> Sorry about that. I wanted to keep the series title, so that someone
> looking up older versions find it.
> 
That makes sense, but it would be best until we acked the the version going into
net_prio, otherwise we maybe tracking regressions in two places rather than one.

> >I've nothing against them, but since we're still going through some churn on the
> >net_prio variant, it may be best to wait until thats settled before moving them
> >over to net_cls.
> 
> Sure, I can update this series when the net_prio controller changes
> have settled down.
> 
Thank you, I think thats a good idea.

> I just wonder if it wouldn't make sense to merge them together.
> Obviously, that will break the user space which is not a good thing
> but having a controller per socket option is not good either.
> 
This has been discussed (although perhaps not on list) before.  I don't think
we're going to see lots of cgroups for socket options.  most of them have proc
tunables, priroity and classification dont.  We could merge the two controllers,
but as you said it breaks users space which is a non-starter.  It also doesn't
really buy us anything, as people want to be able to set priority and
classification independently, so we either use two controllers, or one
controller with twice as many cgroup instances (one for each combination of
priroity/class that an admin wants).  

I'll ping you when the net_prio stuff settles out.
Regards
Neil
 
> cheers,
> daniel
> 
> --
> 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
> 
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ