Re: [PATCH] Remove page_table_lock from vma manipulations

From: Hugh Dickins (hugh@veritas.com)
Date: Thu Jun 05 2003 - 11:12:15 EST


On Wed, 4 Jun 2003, Dave McCracken wrote:
>
> Gah. I don't know how I convinced myself that code was safe. It's easily
> fixed. How does this one look?

I think you have to keep page_table_lock in expand_stack (GROWSUP and
down versions) because that is called with only down_read on mmap_sem,
so two could be racing: nothing else protects the various vma field
adjustments there. Otherwise appears correct to me. Beneficial?

Hugh

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



This archive was generated by hypermail 2b29 : Sat Jun 07 2003 - 22:00:27 EST