[RFC v0 0/4] cgroup classid & netprio 'cleanups'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Daniel Wagner <daniel.wagner@xxxxxxxxxxxx>

Hi, 

While looking into some cgroup code, I had a look at sock_update_classid()
and sock_update_netprio(). I did not really understand why
sock_update_classid() and sock_update_netprio() are implemented 
differently. Especially, when they do the same thing. 

This series changes both funtion to look alike.

I am not so sure about the rcu changes (I did read the documentation
but then...).

The last patch changes the behavior sliglty. Bevor that change
it was not possible to reassign classid 0. Now it would allow this.

cheers,
daniel

Daniel Wagner (4):
  net: Only update sk_cgrp_prioidx on change
  net: Do not double rcu_read_lock()
  net: Move in_interrupt() check one function call up
  net: Allow updating sk_class id to 0

 include/net/cls_cgroup.h |    6 ------
 net/core/sock.c          |   13 +++++++++----
 2 files changed, 9 insertions(+), 10 deletions(-)

-- 
1.7.10.130.g36e6c

--
To unsubscribe from this list: send the line "unsubscribe cgroups" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux