diff options
author | Mandeep Singh Baines <[email protected]> | 2011-12-21 20:18:37 -0800 |
---|---|---|
committer | Tejun Heo <[email protected]> | 2011-12-22 07:32:57 -0800 |
commit | 892a2b90ba15cb7dbee40979f23fdb492913abf8 (patch) | |
tree | db1cb827649a846b84e9c5da03d2b2cf4aedc656 /lib/memory-notifier-error-inject.c | |
parent | b07ef7741122a83575499c11417e514877941e76 (diff) |
cgroup: only need to check oldcgrp==newgrp once
In cgroup_attach_proc it is now sufficient to only check that
oldcgrp==newcgrp once. Now that we are using threadgroup_lock()
during the migrations, oldcgrp will not change.
Signed-off-by: Mandeep Singh Baines <[email protected]>
Acked-by: Li Zefan <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: KAMEZAWA Hiroyuki <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Paul Menage <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions