All of lore.kernel.org
 help / color / mirror / Atom feed
* [sh] A possible problem in start_secondary()
@ 2013-06-28 12:26 Kirill Tkhai
  0 siblings, 0 replies; only message in thread
From: Kirill Tkhai @ 2013-06-28 12:26 UTC (permalink / raw)
  To: linux-sh

Hi, Paul,

I found out a possible wrong order of local_irq_enable/set_cpu_online at start_secondary().

If irqs are enabled then cpu can receive a timer interrupt, which can cause softirq action.

If we are waking softirq thread on offline cpu, select_task_rq() chooses any active cpu and changes
affinity. So, possible bound softirq thread will change his affinity.

I had this problem on old kernel version on sparc. Maybe, it will be useful for you.

Regards,
Kirill

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-06-28 12:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-28 12:26 [sh] A possible problem in start_secondary() Kirill Tkhai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.