Re: 2.6.5-rc1-aa1
From: Hugh Dickins
Date: Thu Mar 18 2004 - 17:39:51 EST
On Thu, 18 Mar 2004, Andrea Arcangeli wrote:
>
> The fix is simple: always set and clear PG_anon under the page_map_lock,
> this will avoid the race since all ClearPageAnon already runs under the
> page_map_lock. I will implement and test in a few hours.
>
> ... I find this more robust.
Absolutely, that's what I did too. My old page_add_rmap had anon flag,
but the new patches have page_add_anon_rmap and page_add_obj_rmap.
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/