From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261996AbVFGVcw (ORCPT ); Tue, 7 Jun 2005 17:32:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261992AbVFGVbI (ORCPT ); Tue, 7 Jun 2005 17:31:08 -0400 Received: from quark.didntduck.org ([69.55.226.66]:8096 "EHLO quark.didntduck.org") by vger.kernel.org with ESMTP id S261991AbVFGVas (ORCPT ); Tue, 7 Jun 2005 17:30:48 -0400 Message-ID: <42A61227.9090402@didntduck.org> Date: Tue, 07 Jun 2005 17:31:19 -0400 From: Brian Gerst User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Arjan van de Ven CC: christoph , Christoph Hellwig , akpm@osdl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Move some more structures into "mostly_readonly" References: <20050607194123.GA16637@infradead.org> <1118177949.5497.44.camel@laptopd505.fenrus.org> In-Reply-To: <1118177949.5497.44.camel@laptopd505.fenrus.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Arjan van de Ven wrote: > On Tue, 2005-06-07 at 12:59 -0700, christoph wrote: > >>On Tue, 7 Jun 2005, Christoph Hellwig wrote: >> >> >>>On Tue, Jun 07, 2005 at 11:30:03AM -0700, christoph wrote: >>> >>>>Move syscall table, timer_hpet and the boot_cpu_data into the "mostly_readonly" section. >>> >>>the syscall table should be completely readonly. >> >>Why was it in .data in the first place? There must be some reason why it >>was writable? > > > probably a historic oversight. > It doesn't really matter. .rodata isn't actually mapped read-only. Doing so would break up the large pages used to map the kernel. -- Brian Gerst