Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264723AbUFAHRY (ORCPT ); Tue, 1 Jun 2004 03:17:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264914AbUFAHRY (ORCPT ); Tue, 1 Jun 2004 03:17:24 -0400 Received: from fw.osdl.org ([65.172.181.6]:45774 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S264723AbUFAHRW (ORCPT ); Tue, 1 Jun 2004 03:17:22 -0400 Date: Tue, 1 Jun 2004 00:16:32 -0700 From: Andrew Morton To: Keith Owens Cc: linux-kernel@vger.kernel.org Subject: Re: [patch 2.6.7-rc2] Add const to some scheduling functions Message-Id: <20040601001632.1cc185ba.akpm@osdl.org> In-Reply-To: <6525.1086061616@kao2.melbourne.sgi.com> References: <6525.1086061616@kao2.melbourne.sgi.com> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-redhat-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: 509 Lines: 12 Keith Owens wrote: > > Several scheduler macros only read from the task struct, mark them > const. It can generate better code. It makes no change to the gcc-3.4.0-compiled x86 kernel's size. Under what circumstances did you see improvements? - 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/