/* * netprio_cgroup.h Control Group Priority set * * * Authors: Neil Horman <nhorman@tuxdriver.com> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation; either version 2 of the License, or (at your option) * any later version. * */ #ifndef _NETPRIO_CGROUP_H #define _NETPRIO_CGROUP_H #include <linux/cgroup.h> #include <linux/hardirq.h> #include <linux/rcupdate.h> #if IS_ENABLED(CONFIG_CGROUP_NET_PRIO) struct netprio_map { struct rcu_head rcu; u32 priomap_len; u32 priomap[]; };
static inline u32 task_netprioidx(struct task_struct *p) { struct cgroup_subsys_state *css; u32 idx; rcu_read_lock(); css = task_css(p, net_prio_cgrp_id); idx = css->cgroup->id; rcu_read_unlock(); return idx; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Neil Horman | 37 | 80.43% | 2 | 40.00% |
Tejun Heo | 9 | 19.57% | 3 | 60.00% |
Total | 46 | 100.00% | 5 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Tejun Heo | 28 | 100.00% | 1 | 100.00% |
Total | 28 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Neil Horman | 15 | 100.00% | 2 | 100.00% |
Total | 15 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Tejun Heo | 8 | 72.73% | 1 | 50.00% |
Neil Horman | 3 | 27.27% | 1 | 50.00% |
Total | 11 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Neil Horman | 94 | 63.95% | 2 | 25.00% |
Tejun Heo | 45 | 30.61% | 4 | 50.00% |
Daniel Wagner | 5 | 3.40% | 1 | 12.50% |
Daniel Borkmann | 3 | 2.04% | 1 | 12.50% |
Total | 147 | 100.00% | 8 | 100.00% |