public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Jack Steiner <steiner@sgi.com>
To: linux-ia64@vger.kernel.org
Subject: Re: Export pda_percpu?
Date: Wed, 16 Mar 2005 13:51:25 +0000	[thread overview]
Message-ID: <20050316135125.GA14422@sgi.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0503142038340.16107@schroedinger.engr.sgi.com>

On Tue, Mar 15, 2005 at 10:42:02PM -0800, Luck, Tony wrote:
> >I need cnodeid_to_nasid() to figure out which SHUB to use from mmtimer.
> >
> >
> >however cnodeid_to_nasid is defined as
> >
> >#define cnodeid_to_nasid(cnodeid)       
> >pda->cnodeid_to_nasid_table[cnodeid]
> 
> Cleaner to turn cnodeid_to_nasid() into a real function
> and export that.  Is it used in critical performance paths?
> 
> -Tony

AFAICT, none of the current uses are on performance critical pathes.
Making it a real function & exporting it is probably the best thing to
do. An alternative would be to remove cnodeid_to_nasid_table[] from
the pda & make it an exported table.


-- 
Thanks

Jack Steiner (steiner@sgi.com)          651-683-5302
Principal Engineer                      SGI - Silicon Graphics, Inc.



      parent reply	other threads:[~2005-03-16 13:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-15  4:44 Export pda_percpu? Christoph Lameter
2005-03-15 15:37 ` Jack Steiner
2005-03-15 16:24 ` Jesse Barnes
2005-03-16  4:33 ` Christoph Lameter
2005-03-16  6:42 ` Luck, Tony
2005-03-16 13:51 ` Jack Steiner [this message]

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=20050316135125.GA14422@sgi.com \
    --to=steiner@sgi.com \
    --cc=linux-ia64@vger.kernel.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