Re: [PATCH 3/5] net: add udp limit to net cgroup

2016-08-15 Thread Mahesh Bandewar
On Fri, Aug 12, 2016 at 9:35 PM, Alexei Starovoitov wrote: [...] >> * 'net.udp_usage': Reading this file gives the number of udp ports used by >> processes in this cgroup and all its descendants. >> * 'net.udp_limit': Writing this file sets the total number of udp ports >> that can be used by proc

Re: [PATCH 3/5] net: add udp limit to net cgroup

2016-08-12 Thread Alexei Starovoitov
On Wed, Aug 10, 2016 at 05:53:16PM -0700, Anoop Naravaram wrote: > udp port limit > -- > This property controls the limit of udp ports that can be used by the > processes in a cgroup. The controller manages udp statistics (usage, > limit, etc) for each cgroup. Every cgroup also keeps tr

[PATCH 3/5] net: add udp limit to net cgroup

2016-08-10 Thread Anoop Naravaram
udp port limit -- This property controls the limit of udp ports that can be used by the processes in a cgroup. The controller manages udp statistics (usage, limit, etc) for each cgroup. Every cgroup also keeps track of the udp ports acquired by its descendants. If a process tries to acq