From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261705AbULJGCf (ORCPT ); Fri, 10 Dec 2004 01:02:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261711AbULJGCf (ORCPT ); Fri, 10 Dec 2004 01:02:35 -0500 Received: from holomorphy.com ([207.189.100.168]:654 "EHLO holomorphy.com") by vger.kernel.org with ESMTP id S261705AbULJGCd (ORCPT ); Fri, 10 Dec 2004 01:02:33 -0500 Date: Thu, 9 Dec 2004 22:02:15 -0800 From: William Lee Irwin III To: Hugh Dickins Cc: Andrea Arcangeli , Nick Piggin , Jesse Barnes , Marcelo Tosatti , Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH] Remove OOM killer from try_to_free_pages / all_unreclaimable braindamage Message-ID: <20041210060215.GK2714@holomorphy.com> References: <20041106152903.GA3851@dualathlon.random> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: The Domain of Holomorphy User-Agent: Mutt/1.5.6+20040722i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 6 Nov 2004, Andrea Arcangeli wrote: >> btw, PF_MEMDIE has always been racy in the way it's being set, so it can >> corrupt the p->flags, but the race window is very small to trigger it >> (and even if it triggers, it probably wouldn't be fatal). That's why I >> don't use PF_MEMDIE in 2.4-aa. On Sat, Nov 06, 2004 at 04:21:33PM +0000, Hugh Dickins wrote: > I expect so, yes, the PF_ flags don't have proper locking. Those > places which set or clear PF_MEMALLOC are more likely to hit races, > but last time I went there I don't think there was a real serious problem. I posted a testcase that triggers a panic with the PF_MEMALLOC race. -- wli