Re: BUG: using smp_processor_id() in preemptible [00000000] code: icedove-bin/5449

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Monday, May 31, 2010 - 11:55 pm

* Jens Axboe <axboe@kernel.dk> wrote:


I suspect you can put get_cpu/put_cpu around it and use cpu_clock(). The 
cross-CPU effects will still be there and there might be weird stats.

	Ingo
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] sched_clock: Provide local_clock() and improve ..., Johannes Stezenbach, (Fri May 28, 6:42 am)
Re: BUG: using smp_processor_id() in preemptible [00000000 ..., Ingo Molnar, (Mon May 31, 11:55 pm)
[tip:sched/core] sched_clock: Add local_clock() API and im ..., tip-bot for Peter Zi ..., (Wed Jun 9, 3:13 am)