Commit 81779415 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] task_lock() comment update

parent 1bd4c02c
...@@ -798,7 +798,8 @@ static inline int thread_group_empty(task_t *p) ...@@ -798,7 +798,8 @@ static inline int thread_group_empty(task_t *p)
extern void unhash_process(struct task_struct *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). * Nests both inside and outside of read_lock(&tasklist_lock).
* It must not be nested with write_lock_irq(&tasklist_lock), * It must not be nested with write_lock_irq(&tasklist_lock),
* neither inside nor outside. * neither inside nor outside.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment