[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: MP callouts
On Apr 12, 2008, at 9:57 AM, Andrew Doran wrote:
At the moment, callouts only fire on the boot CPU. The below diff
callout processing on all CPUs, and for callouts to be bound to CPUs.
Each CPU has its own lock and call wheel. Non-MPSAFE callouts are
run on the boot CPU, just in case there is an odd sync issue lurking
What are the implications of this? Will each CPU have its own timer
or can the timer interrupt servicing be spread among all the CPUs?
Can we add a void cpu_nextcallout(unsigned int ticks); so that ports
schedule a variable clock can avoid scheduling clock intrs that won't
do anything. It would be nice if hardclock could take a 2nd argument
the number of [additional] ticks that this invocation encompasses.
Main Index |
Thread Index |