Re: + arch-x86-kernel-cpu-cpufreq-acpi-cpufreqc-avoid-cross-cpu-interrupts.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 13 Apr 2009 09:45:54 +0930 Rusty Russell <rusty@xxxxxxxxxxxxxxx> wrote:

> On Sat, 11 Apr 2009 05:00:23 am akpm@xxxxxxxxxxxxxxxxxxxx wrote:
> > In drv_read(), check to see whether we can run the rdmsr() on the current
> > CPU.  If so, do that.  So smp_call_function_single() can avoid the IPI.
> > 
> > Arguably, cpumask_any() should do this.
> 
> cpumask_any_close()?  It would try smp_processor_id, then node-local?

Yeah, good idea.  cpumask_closest, perhaps.

> I prefer not to mess with the fairly clear "I really don't care" semantic of
> cpumask_any().

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux