Re: [PATCH] BUG() in exec_mmap()

From: Ernie Petrides
Date: Thu Oct 09 2003 - 20:21:02 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/