linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Dave Young <dyoung@redhat.com>
Cc: gregkh@suse.de, cl@linux-foundation.org,
	linux-kernel@vger.kernel.org, linux-mm@kvack.org
Subject: Re: [PATCCH percpu: add cpunum param in per_cpu_ptr_to_phys
Date: Tue, 15 Nov 2011 06:49:43 -0800	[thread overview]
Message-ID: <20111115144943.GJ30922@google.com> (raw)
In-Reply-To: <20111115083646.GA21468@darkstar.nay.redhat.com>

On Tue, Nov 15, 2011 at 04:36:46PM +0800, Dave Young wrote:
> per_cpu_ptr_to_phys iterate all cpu to get the phy addr
> let's leave the caller to pass the cpu number to it.
> 
> Actually in the only one user show_crash_notes,
> cpunum is provided already before calling this. 
> 
> Signed-off-by: Dave Young <dyoung@redhat.com>

Does this matter?  If it's not a performance critical path, I'd rather
keep the generic funtionality.

Thanks.

-- 
tejun

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2011-11-15 14:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-15  8:36 [PATCCH percpu: add cpunum param in per_cpu_ptr_to_phys Dave Young
2011-11-15 14:49 ` Tejun Heo [this message]
2011-11-16  1:15   ` Dave Young
2011-11-16  1:25     ` Tejun Heo

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=20111115144943.GJ30922@google.com \
    --to=tj@kernel.org \
    --cc=cl@linux-foundation.org \
    --cc=dyoung@redhat.com \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.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;
as well as URLs for NNTP newsgroup(s).