From: Kirill Tkhai <tkhai@yandex.ru>
To: linux-sh@vger.kernel.org
Subject: [sh] A possible problem in start_secondary()
Date: Fri, 28 Jun 2013 12:26:07 +0000 [thread overview]
Message-ID: <799851372422367@web4d.yandex.ru> (raw)
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
reply other threads:[~2013-06-28 12:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=799851372422367@web4d.yandex.ru \
--to=tkhai@yandex.ru \
--cc=linux-sh@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.