mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
Task Control Groups: make cpusets a client of cgroups
Remove the filesystem support logic from the cpusets system and makes cpusets a cgroup subsystem The "cpuset" filesystem becomes a dummy filesystem; attempts to mount it get passed through to the cgroup filesystem with the appropriate options to emulate the old cpuset filesystem behaviour. Signed-off-by: Paul Menage <[email protected]> Cc: Serge E. Hallyn <[email protected]> Cc: "Eric W. Biederman" <[email protected]> Cc: Dave Hansen <[email protected]> Cc: Balbir Singh <[email protected]> Cc: Paul Jackson <[email protected]> Cc: Kirill Korotaev <[email protected]> Cc: Herbert Poetzl <[email protected]> Cc: Srivatsa Vaddagiri <[email protected]> Cc: Cedric Le Goater <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
81a6a5cdd2
commit
8793d854ed
11 changed files with 277 additions and 1055 deletions
|
|
@ -1388,7 +1388,6 @@ EXPORT_SYMBOL(alloc_pages_current);
|
|||
* keeps mempolicies cpuset relative after its cpuset moves. See
|
||||
* further kernel/cpuset.c update_nodemask().
|
||||
*/
|
||||
void *cpuset_being_rebound;
|
||||
|
||||
/* Slow path of a mempolicy copy */
|
||||
struct mempolicy *__mpol_copy(struct mempolicy *old)
|
||||
|
|
@ -2019,4 +2018,3 @@ out:
|
|||
m->version = (vma != priv->tail_vma) ? vma->vm_start : 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue