Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 28 Oct 2002 21:58:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 28 Oct 2002 21:58:35 -0500 Received: from dp.samba.org ([66.70.73.150]:39652 "EHLO lists.samba.org") by vger.kernel.org with ESMTP id ; Mon, 28 Oct 2002 21:58:34 -0500 From: Rusty Russell To: Hugh Dickins Cc: mingming cao , Andrew Morton , linux-kernel@vger.kernel.org Subject: Re: [PATCH]updated ipc lock patch In-reply-to: Your message of "Tue, 29 Oct 2002 00:26:27 -0000." Date: Tue, 29 Oct 2002 13:51:20 +1100 Message-Id: <20021029030456.F06272C259@lists.samba.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1003 Lines: 25 In message you write: > > 2) This is a problem, because other tasks could be OOM killed during > > that period, and could also try to use this mempool. > > They'll try to use the mempool, maybe some will be allowed to wait > for their kmalloc(GFP_KERNEL) memory, and others will be PF_MEMDIEd and > proceed to take a reserved mempool buffer, and others will be PF_MEMDIEd > and have to wait for a reserved mempool buffer. Which will be released > to them in due course. No worries there. Oh. You are (of course) correct. Thankyou for your patience. Your solution is elegant and correct. Feeling dimwitted, Rusty. -- Anyone who quotes me in their sig is an idiot. -- Rusty Russell. - 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/