Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932258AbWCUHFV (ORCPT ); Tue, 21 Mar 2006 02:05:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932270AbWCUHFV (ORCPT ); Tue, 21 Mar 2006 02:05:21 -0500 Received: from courier.cs.helsinki.fi ([128.214.9.1]:61399 "EHLO mail.cs.helsinki.fi") by vger.kernel.org with ESMTP id S932258AbWCUHFU (ORCPT ); Tue, 21 Mar 2006 02:05:20 -0500 Date: Tue, 21 Mar 2006 09:05:14 +0200 (EET) From: Pekka J Enberg To: Nathan Scott cc: xfs-masters@oss.sgi.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] xfs: kill kmem_zone init In-Reply-To: <20060321082037.A653275@wobbly.melbourne.sgi.com> Message-ID: References: <20060321082037.A653275@wobbly.melbourne.sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1222 Lines: 26 On Tue, 21 Mar 2006, Nathan Scott wrote: > Sorry, but thats just silly. Did you even look at the code > around what you're changing (it has to do more than just wrap > up slab calls)? So, NACK on this patch - it leaves the code > very confused (half zoney, half slaby), and is just unhelpful > code churn at the end of the day. You're already using kmem_cache_destroy() mixed with the zone stuff so I don't see your point. I would really prefer to feed small bits at a time so is there any way I can sweet-talk you into merging the patch? On Tue, 21 Mar 2006, Nathan Scott wrote: > For your zalloc patch, you will need to duplicate the logic > in kmem_zone_alloc into kmem_zone_zalloc in order to use that > new zalloc interface you're introducing - which should be fine. I am planning to kill the slab wrappers completely. The logic you're referring to looks awful lot like GFP_NOFAIL with limiter. Any reason we can't just use GFP_NOFAIL for those cases? Pekka - 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/