Re: New bug in patch and existing Linux code - race with install_page()(was: Re: [PATCH] 2.6.14 patch for supporting madvise(MADV_REMOVE))

From: Hugh Dickins
Date: Wed Nov 02 2005 - 15:46:13 EST


On Wed, 2 Nov 2005, Hugh Dickins wrote:
> On Wed, 2 Nov 2005, Blaisorblade wrote:
>
> No, it should be fine as is (unless perhaps some barrier is needed).

We already have the barrier needed: we're holding page_table_lock (pte lock).

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