Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933251AbXAAIng (ORCPT ); Mon, 1 Jan 2007 03:43:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933256AbXAAIng (ORCPT ); Mon, 1 Jan 2007 03:43:36 -0500 Received: from smtp.ocgnet.org ([64.20.243.3]:46086 "EHLO smtp.ocgnet.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933251AbXAAInf (ORCPT ); Mon, 1 Jan 2007 03:43:35 -0500 Date: Mon, 1 Jan 2007 17:42:31 +0900 From: Paul Mundt To: Folkert van Heusden Cc: "Robert P. J. Day" , Arjan van de Ven , Denis Vlasenko , Linux kernel mailing list Subject: Re: replace "memset(...,0,PAGE_SIZE)" calls with "clear_page()"? Message-ID: <20070101084231.GA9863@linux-sh.org> Mail-Followup-To: Paul Mundt , Folkert van Heusden , "Robert P. J. Day" , Arjan van de Ven , Denis Vlasenko , Linux kernel mailing list References: <200612302149.35752.vda.linux@googlemail.com> <1167518748.20929.578.camel@laptopd505.fenrus.org> <20061231183949.GA8323@linux-sh.org> <20070101015932.GP13521@vanheusden.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070101015932.GP13521@vanheusden.com> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 769 Lines: 15 On Mon, Jan 01, 2007 at 02:59:32AM +0100, Folkert van Heusden wrote: > > > regarding alignment that don't allow clear_page() to be used > > > copy_page() in the memcpy() case), but it's going to need a lot of > > Maybe these optimalisations should be in the coding style docs? > For what purpose? CodingStyle is not about documenting usage constraints for every minor part of the kernel. If someone intends to use an API, it's up to them to figure out the semantics for doing so. Let's not confuse common sense with style. - 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/