Re: [PATCCH percpu: add cpunum param in per_cpu_ptr_to_phys

From: Tejun Heo
Date: Tue Nov 15 2011 - 09:49:51 EST


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@xxxxxxxxxx>

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

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/