Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750700AbWHPQ5n (ORCPT ); Wed, 16 Aug 2006 12:57:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751162AbWHPQ5n (ORCPT ); Wed, 16 Aug 2006 12:57:43 -0400 Received: from smtp.osdl.org ([65.172.181.4]:28653 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S1750700AbWHPQ5m (ORCPT ); Wed, 16 Aug 2006 12:57:42 -0400 Date: Wed, 16 Aug 2006 09:57:12 -0700 From: Stephen Hemminger To: Evgeniy Polyakov Cc: David Miller , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH2 1/1] network memory allocator. Message-ID: <20060816095712.120b3171@localhost.localdomain> In-Reply-To: <20060816075137.GA22397@2ka.mipt.ru> References: <20060814110359.GA27704@2ka.mipt.ru> <20060816075137.GA22397@2ka.mipt.ru> Organization: OSDL X-Mailer: Sylpheed-Claws 2.1.0 (GTK+ 2.8.20; i486-pc-linux-gnu) 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: 649 Lines: 14 IMHO the network memory allocator is being a little too focused on one problem, rather than looking at a general enhancement. Have you looked into something like the talloc used by Samba (and others)? http://talloc.samba.org/ http://samba.org/ftp/unpacked/samba4/source/lib/talloc/talloc_guide.txt By having a context, we could do better resource tracking and also cleanup would be easier on removal. - 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/