Re: 230-objrmap fixes for 2.6.3-mjb2

From: Andrew Morton
Date: Fri Mar 26 2004 - 18:26:03 EST


Andrea Arcangeli <andrea@xxxxxxx> wrote:
>
> On Fri, Mar 26, 2004 at 11:57:23AM +0000, Hugh Dickins wrote:
> > Andrea's 2.6.5-rc2-aa4 (anon_vma): based on Martin's, but very
> > likely safe since it does not use find_vma at all in swapout, and
> > unuse_process downs mmap_sem as Martin's used to before.
>
> Hugh, thanks for the review! I also don't see locking bugs in this area
> in my tree and I like not to take the page_table_lock during vma
> manipulations since I don't seem to need it.

It would be really, really nice if we could clean this crap up. mmap_sem
protects the vma tree, i_shared_sem protects the per-address_space vma
lists and page_table_lock protects the pagetables.

Does this sound like something we can achieve?

(Could page_table_lock then become per-vma?)

-
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/