Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263003AbUCRWh7 (ORCPT ); Thu, 18 Mar 2004 17:37:59 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263192AbUCRWh7 (ORCPT ); Thu, 18 Mar 2004 17:37:59 -0500 Received: from bay-bridge.veritas.com ([143.127.3.10]:5830 "EHLO MTVMIME03.enterprise.veritas.com") by vger.kernel.org with ESMTP id S263003AbUCRWh5 (ORCPT ); Thu, 18 Mar 2004 17:37:57 -0500 Date: Thu, 18 Mar 2004 22:37:55 +0000 (GMT) From: Hugh Dickins X-X-Sender: hugh@localhost.localdomain To: Andrea Arcangeli cc: linux-kernel@vger.kernel.org Subject: Re: 2.6.5-rc1-aa1 In-Reply-To: <20040318221447.GA3248@dualathlon.random> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 681 Lines: 18 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/