Messages in this thread | | | Subject | Re: [PATCH] BUG() in exec_mmap() | Date | Thu, 09 Oct 2003 21:24:19 -0400 | From | Ernie Petrides <> |
| |
On Thursday, 9-Oct-2003 at 21:1 EDT, Ernie Petrides wrote:
> Sorry I missed the discussion on the original changes. Was there a > race condition with another cpu gaining a reference in proc_pid_status() > or access_process_vm() or something like that? Is it possible to just > use down_read(&old_mm->mmap_sem) and up_read(&old_mm->mmap_sem) inside > exec_mmap() around the optimized call to exit_mmap() instead?
I meant down_write() and up_write(). (But I haven't evaluated whether this would be feasible.)
Cheers. -ernie - 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/
| |