Re: [patch] fixed both processes in D state and the /proc/ oopses [Re: [patch] Fixed the race that w

Andrea Arcangeli (andrea@e-mind.com)
Wed, 27 Jan 1999 13:15:25 +0100 (CET)


On Wed, 27 Jan 1999, Andrea Arcangeli wrote:

> +/*
> + * Fixed a race between mmget() and mmput(): added the mm_lock spinlock in
> + * the task_struct to serialize accesses to the tsk->mm field.
> + * Copyright (C) 1999 Andrea Arcangeli
> + */

Woops this incremental patch should be applyed ;). I forget to fix the
comment before diffing...

--- linux/kernel/fork.c.orig Wed Jan 27 13:12:37 1999
+++ linux/kernel/fork.c Wed Jan 27 13:12:50 1999
@@ -11,8 +11,8 @@
* management can be a bitch. See 'mm/mm.c': 'copy_page_tables()'
*/
/*
- * Fixed a race between mmget() and mmput(): added the mm_lock spinlock in
- * the task_struct to serialize accesses to the tsk->mm field.
+ * Fixed a race between mmget() and mmput(): added the mm_lock spinlock
+ * to serialize accesses to the tsk->mm field.
* Copyright (C) 1999 Andrea Arcangeli
*/

Andrea Arcangeli

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/