lkml.org 
[lkml]   [2011]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCCH percpu: add cpunum param in per_cpu_ptr_to_phys
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


\
 
 \ /
  Last update: 2011-11-15 15:51    [W:0.276 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site