Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 8 Jan 2003 17:51:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 8 Jan 2003 17:51:51 -0500 Received: from svr-ganmtc-appserv-mgmt.ncf.coxexpress.com ([24.136.46.5]:46088 "EHLO svr-ganmtc-appserv-mgmt.ncf.coxexpress.com") by vger.kernel.org with ESMTP id ; Wed, 8 Jan 2003 17:51:50 -0500 Subject: Re: [PATCH]: Remove PF_MEMDIE as it is redundant From: Robert Love To: Juan Quintela Cc: Marcelo Tosatti , Andrea Arcangeli , lkml In-Reply-To: References: Content-Type: text/plain Organization: Message-Id: <1042066824.694.3634.camel@phantasy> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1 (1.2.1-3) Date: 08 Jan 2003 18:00:24 -0500 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 900 Lines: 22 On Wed, 2003-01-08 at 17:47, Juan Quintela wrote: > PF_MEMDIE don't have any use in current kernels. Please > remove, we only set it in one place, and there we also set > PF_MEMALLOC. And we only test it in other place, and we also > test for PF_MEMALLOC. This patch has existed in aa for some > quite time. I independently thought this same thing, and did a patch for 2.5 which had the same effect. I was reminded by better-VM-hackers-than-I that PF_MEMALLOC can be cleared in various paths so the PF_MEMDIE is required to ensure that the check in page_alloc.c is always true for OOM'ed tasks. Robert Love - 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/