Messages in this thread |  | | Date | Tue, 18 Sep 2001 09:49:42 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: Deadlock on the mm->mmap_sem |
| |
On Tue, 18 Sep 2001, David Howells wrote: > > Okay preliminary as-yet-untested patch to cure coredumping of the need > to hold the mm semaphore: > > - kernel/fork.c: function to partially copy an mm_struct and attach it > to the task_struct in place of the old.
Oh, please no.
If the choice is between a hack to do strange and incomprehensible things for a special case, and just making the semaphores do the same thing rw-spinlocks do and make the problem go away naturally, Ill take #2 any day. The patches already exist, after all.
Linus
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |