mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
cpusets: fix obsolete comment
mm migration is no longer done in cpuset_update_task_memory_state() so it
can no longer take current->mm->mmap_sem, so fix the obsolete comment.
[ This changed in commit 04c19fa6f1
("cpuset: migrate all tasks in cpuset at once") when the mm migration
was moved from cpuset_update_task_memory_state() to update_nodemask() ]
Signed-off-by: David Rientjes <rientjes@google.com>
Cc: Paul Jackson <pj@sgi.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
103926c689
commit
41f7f60d31
1 changed files with 2 additions and 2 deletions
|
@ -322,8 +322,8 @@ static void guarantee_online_mems(const struct cpuset *cs, nodemask_t *pmask)
|
||||||
* Call without callback_mutex or task_lock() held. May be
|
* Call without callback_mutex or task_lock() held. May be
|
||||||
* called with or without cgroup_mutex held. Thanks in part to
|
* called with or without cgroup_mutex held. Thanks in part to
|
||||||
* 'the_top_cpuset_hack', the task's cpuset pointer will never
|
* 'the_top_cpuset_hack', the task's cpuset pointer will never
|
||||||
* be NULL. This routine also might acquire callback_mutex and
|
* be NULL. This routine also might acquire callback_mutex during
|
||||||
* current->mm->mmap_sem during call.
|
* call.
|
||||||
*
|
*
|
||||||
* Reading current->cpuset->mems_generation doesn't need task_lock
|
* Reading current->cpuset->mems_generation doesn't need task_lock
|
||||||
* to guard the current->cpuset derefence, because it is guarded
|
* to guard the current->cpuset derefence, because it is guarded
|
||||||
|
|
Loading…
Reference in a new issue