From: David Woodhouse Subject: Re: [PATCH] const struct file_operations * Date: Tue, 24 Jun 2003 15:16:12 +0100 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <1056464171.29264.501.camel@passion.cambridge.redhat.com> References: <1056463558.29264.499.camel@passion.cambridge.redhat.com> <20030624141428.GD451@parcelfarce.linux.theplanet.co.uk> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: torvalds@osdl.org, linux-fsdevel@vger.kernel.org Return-path: Received: from pub237.cambridge.redhat.com ([213.86.99.237]:6375 "EHLO passion.cambridge.redhat.com") by vger.kernel.org with ESMTP id S262095AbTFXOCJ (ORCPT ); Tue, 24 Jun 2003 10:02:09 -0400 To: Matthew Wilcox In-Reply-To: <20030624141428.GD451@parcelfarce.linux.theplanet.co.uk> List-Id: linux-fsdevel.vger.kernel.org On Tue, 2003-06-24 at 15:14, Matthew Wilcox wrote: > On Tue, Jun 24, 2003 at 03:05:58PM +0100, David Woodhouse wrote: > > For configurations with kernel .rodata in ROM instead of RAM, it's > > actually slightly advantageous to have these structures marked as const > > too -- but that can be done later and isn't mandatory. > > And indeed may not be advantageous. ROM accesses are typically slower > than RAM accesses (or were, back when I cared about these kinds of > things). Don't get me started on how pointless XIP is... :) -- dwmw2