Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764567AbXHFTdX (ORCPT ); Mon, 6 Aug 2007 15:33:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754892AbXHFTdO (ORCPT ); Mon, 6 Aug 2007 15:33:14 -0400 Received: from canuck.infradead.org ([209.217.80.40]:59626 "EHLO canuck.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755278AbXHFTdO (ORCPT ); Mon, 6 Aug 2007 15:33:14 -0400 Subject: Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK From: Peter Zijlstra To: Christoph Lameter Cc: Daniel Phillips , linux-kernel@vger.kernel.org, linux-mm@kvack.org, David Miller , Andrew Morton , Daniel Phillips , Pekka Enberg , Matt Mackall , Lee Schermerhorn , Steve Dickson In-Reply-To: References: <20070806102922.907530000@chello.nl> <20070806103658.107883000@chello.nl> <200708061121.50351.phillips@phunq.net> <1186425063.11797.80.camel@lappy> Content-Type: text/plain Date: Mon, 06 Aug 2007 21:31:30 +0200 Message-Id: <1186428690.11797.96.camel@lappy> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1148 Lines: 27 On Mon, 2007-08-06 at 12:11 -0700, Christoph Lameter wrote: > On Mon, 6 Aug 2007, Peter Zijlstra wrote: > > > > > Shudder. That can just be a desaster for NUMA. Both performance wise > > > > and logic wise. One cpuset being low on memory should not affect > > > > applications in other cpusets. > > > > Do note that these are only PF_MEMALLOC allocations that will break the > > cpuset. And one can argue that these are not application allocation but > > system allocations. > > This is global, global locking etc etc. On a large NUMA system this will > cause significant delays. One fears that a livelock may result. The only new lock is in SLUB, and I'm not aware of any regular PF_MEMALLOC paths using slab allocations, but I'll instrument the regular reclaim path to verify this. The functionality this is aimed at is swap over network, and I doubt you'll be enabling that on these machines. - 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/