Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267333AbUJRUaF (ORCPT ); Mon, 18 Oct 2004 16:30:05 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265971AbUJRU26 (ORCPT ); Mon, 18 Oct 2004 16:28:58 -0400 Received: from vanessarodrigues.com ([192.139.46.150]:13543 "EHLO jaguar.mkp.net") by vger.kernel.org with ESMTP id S267452AbUJRSyP (ORCPT ); Mon, 18 Oct 2004 14:54:15 -0400 To: Matthew Wilcox Cc: Andi Kleen , linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org, akpm@osdl.org, tony.luck@intel.com Subject: Re: [PATCH] General purpose zeroed page slab From: "Martin K. Petersen" Organization: Wild Open Source, Inc. References: <20041014180427.GA7973@wotan.suse.de> <20041018184210.GI16153@parcelfarce.linux.theplanet.co.uk> Date: Mon, 18 Oct 2004 14:54:13 -0400 In-Reply-To: <20041018184210.GI16153@parcelfarce.linux.theplanet.co.uk> (Matthew Wilcox's message of "Mon, 18 Oct 2004 19:42:10 +0100") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 876 Lines: 25 >>>>> "Matthew" == Matthew Wilcox writes: Matthew> It's probably worth doing this with a static cachep in slab.c Matthew> and only exposing a get_zeroed_page() / free_zeroed_page() Matthew> interface, with the latter doing the memset to 0. *nod* Matthew> I disagree with Andi over the dumbness of zeroing the whole Matthew> page. That makes it cache-hot, which is what you want from a Matthew> page you allocate from slab. Yeah, plus the housekeeping may be more of a hassle than it's worth. We'll see... -- Martin K. Petersen Wild Open Source, Inc. mkp@wildopensource.com http://www.wildopensource.com/ - 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/