diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-04-26 09:01:02 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-04-26 09:01:02 -0700 |
| commit | 81779415b076751d6f5b577270c3a2b9cb7f7b3b (patch) | |
| tree | f2a1f22162296929ce20d95f790fffb47e0ea959 /include/linux | |
| parent | 1bd4c02c645161959a69be858ee1efc4d0273507 (diff) | |
[PATCH] task_lock() comment update
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sched.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 7da555666655..73d7127e3f28 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -798,7 +798,8 @@ static inline int thread_group_empty(task_t *p) extern void unhash_process(struct task_struct *p); -/* Protects ->fs, ->files, ->mm, and synchronises with wait4(). +/* + * Protects ->fs, ->files, ->mm, ->ptrace and synchronises with wait4(). * Nests both inside and outside of read_lock(&tasklist_lock). * It must not be nested with write_lock_irq(&tasklist_lock), * neither inside nor outside. |
