diff options
| author | Ingo Molnar <[email protected]> | 2017-02-02 10:50:56 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2017-03-02 07:42:25 +0000 |
| commit | 780de9dd2720debc14c501dab4dc80d1f75ad50e (patch) | |
| tree | 706aee839aae1d5f82391eeb5c76cc8088c53e27 /fs/proc/array.c | |
| parent | rcu: Separate the RCU synchronization types and APIs into <linux/rcupdate_wai... (diff) | |
| download | kernel-780de9dd2720debc14c501dab4dc80d1f75ad50e.tar.gz kernel-780de9dd2720debc14c501dab4dc80d1f75ad50e.zip | |
sched/headers, cgroups: Remove the threadgroup_change_*() wrappery
threadgroup_change_begin()/end() is a pointless wrapper around
cgroup_threadgroup_change_begin()/end(), minus a might_sleep()
in the !CONFIG_CGROUPS=y case.
Remove the wrappery, move the might_sleep() (the down_read()
already has a might_sleep() check).
This debloats <linux/sched.h> a bit and simplifies this API.
Update all call sites.
No change in functionality.
Acked-by: Linus Torvalds <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
