From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261297AbVF1UDb (ORCPT ); Tue, 28 Jun 2005 16:03:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261294AbVF1UCw (ORCPT ); Tue, 28 Jun 2005 16:02:52 -0400 Received: from smtp.osdl.org ([65.172.181.4]:20870 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S261269AbVF1UCS (ORCPT ); Tue, 28 Jun 2005 16:02:18 -0400 Date: Tue, 28 Jun 2005 13:01:19 -0700 From: Andrew Morton To: Christoph Lameter Cc: shai@scalex86.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mostly_read data section Message-Id: <20050628130119.5eb366d6.akpm@osdl.org> In-Reply-To: References: X-Mailer: Sylpheed version 1.0.4 (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 Christoph Lameter wrote: > > -static unsigned long hpet_usec_quotient; /* convert hpet clks to usec */ > +static unsigned long __read_mostly hpet_usec_quotient; /* convert hpet clks to usec */ __read_mostly > static unsigned long tsc_hpet_quotient; /* convert tsc to hpet clks */ > static unsigned long hpet_last; /* hpet counter value at last tick*/ > static unsigned long last_tsc_low; /* lsb 32 bits of Time Stamp Counter */ > @@ -193,7 +193,7 @@ static int hpet_resume(void) > /************************************************************/ > > /* tsc timer_opts struct */ > -static struct timer_opts timer_hpet = { > +static struct timer_opts timer_hpet __mostly_read = { __mostly_read. I suggest you use __read_mostly throughout.