Messages in this thread | | | Date | Mon, 17 Jan 2005 15:40:16 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH] __get_cpu_var should use __smp_processor_id() not smp_processor_id() |
| |
* Chris Wedgwood <cw@f00f.org> wrote:
> It seems logical that __get_cpu_var should use __smp_processor_id() > rather than smp_processor_id(). Noticed when __get_cpu_var was making > lots of noise with CONFIG_DEBUG_PREEMPT=y
no ... normally you should only use __get_cpu_var() if you know that you are in a non-preempt case. It's a __ internal function for a reason. Where did it trigger?
Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |