Aleksa Sarai
7e47682ea5
cgroup: allow a cgroup subsystem to reject a fork
...
Add a new cgroup subsystem callback can_fork that conditionally
states whether or not the fork is accepted or rejected by a cgroup
policy. In addition, add a cancel_fork callback so that if an error
occurs later in the forking process, any state modified by can_fork can
be reverted.
Allow for a private opaque pointer to be passed from cgroup_can_fork to
cgroup_post_fork, allowing for the fork state to be stored by each
subsystem separately.
Also add a tagging system for cgroup_subsys.h to allow for CGROUP_<TAG>
enumerations to be be defined and used. In addition, explicitly add a
CGROUP_CANFORK_COUNT macro to make arrays easier to define.
This is in preparation for implementing the pids cgroup subsystem.
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
2015-07-14 17:29:23 -04:00
..
auto_group.c
sched, timer: Convert usages of ACCESS_ONCE() in the scheduler to READ_ONCE()/WRITE_ONCE()
2015-05-08 12:11:32 +02:00
auto_group.h
sched, timer: Convert usages of ACCESS_ONCE() in the scheduler to READ_ONCE()/WRITE_ONCE()
2015-05-08 12:11:32 +02:00
clock.c
kernel/sched/clock.c: add another clock for use with the soft lockup watchdog
2015-02-12 18:54:13 -08:00
completion.c
sched/completion: Serialize completion_done() with complete()
2015-02-18 14:27:40 +01:00
core.c
cgroup: allow a cgroup subsystem to reject a fork
2015-07-14 17:29:23 -04:00
cpuacct.c
cpuacct.h
cpudeadline.c
sched/deadline: Remove cpu_active_mask from cpudl_find()
2015-02-04 07:52:29 +01:00
cpudeadline.h
sched/deadline: Modify cpudl::free_cpus to reflect rd->online
2015-01-30 19:39:16 +01:00
cpupri.c
cpupri.h
cputime.c
sched, timer: Convert usages of ACCESS_ONCE() in the scheduler to READ_ONCE()/WRITE_ONCE()
2015-05-08 12:11:32 +02:00
deadline.c
Merge branch 'sched-hrtimers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2015-06-24 15:09:40 -07:00
debug.c
sched/numa: Fix numa balancing stats in /proc/pid/sched
2015-07-04 10:04:33 +02:00
fair.c
Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2015-07-04 08:56:53 -07:00
features.h
sched/rt: Use IPI to trigger RT task push migration instead of pulling
2015-03-23 10:55:22 +01:00
idle.c
sched / idle: Call default_idle_call() from cpuidle_enter_state()
2015-05-14 21:37:47 +02:00
idle_task.c
sched: Provide update_curr callbacks for stop/idle scheduling classes
2014-11-23 14:14:40 -08:00
loadavg.c
sched: Move the loadavg code to a more obvious location
2015-05-08 12:04:12 +02:00
Makefile
sched: Move the loadavg code to a more obvious location
2015-05-08 12:04:12 +02:00
rt.c
Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2015-06-22 18:57:44 -07:00
sched.h
Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2015-07-04 08:56:53 -07:00
stats.c
sched: use %*pb[l] to print bitmaps including cpumasks and nodemasks
2015-02-13 21:21:37 -08:00
stats.h
sched/stat: Simplify the sched_info accounting dependency
2015-07-04 10:04:30 +02:00
stop_task.c
sched: Provide update_curr callbacks for stop/idle scheduling classes
2014-11-23 14:14:40 -08:00
wait.c
Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2015-06-22 15:52:04 -07:00