mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Christoph Lameter <christoph@lameter.com>
Cc: shai@scalex86.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mostly_read data section
Date: Tue, 28 Jun 2005 13:01:19 -0700	[thread overview]
Message-ID: <20050628130119.5eb366d6.akpm@osdl.org> (raw)
In-Reply-To: <Pine.LNX.4.62.0506281247360.1933@graphe.net>

Christoph Lameter <christoph@lameter.com> 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.

  reply	other threads:[~2005-06-28 20:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-28 18:54 [PATCH] read_mostly " Christoph Lameter
2005-06-28 19:49 ` [PATCH] mostly_read " Christoph Lameter
2005-06-28 20:01   ` Andrew Morton [this message]
2005-06-28 21:03     ` Christoph Lameter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050628130119.5eb366d6.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=christoph@lameter.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shai@scalex86.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®