]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] task_lock() comment update
authorAndrew Morton <akpm@osdl.org>
Mon, 26 Apr 2004 16:01:02 +0000 (09:01 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 26 Apr 2004 16:01:02 +0000 (09:01 -0700)
include/linux/sched.h

index 7da555666655bedb91d3359116744bc0bc032857..73d7127e3f282e22f9685dacf0eaab5ff99180db 100644 (file)
@@ -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.