summaryrefslogtreecommitdiffstats
path: root/arch/mips/mips-boards
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2006-06-07 18:09:01 +0200
committerRalf Baechle <ralf@linux-mips.org>2006-09-27 14:37:40 +0200
commit60a6c3777ec607c5b19df9eac35088db4e142a6b (patch)
tree8f4a680f4667ac4698dfd80bd4ccd79a34f10b19 /arch/mips/mips-boards
parent[MIPS] Wire up set_robust_list(2) and get_robust_list(2) (diff)
downloadlinux-60a6c3777ec607c5b19df9eac35088db4e142a6b.tar.xz
linux-60a6c3777ec607c5b19df9eac35088db4e142a6b.zip
[MIPS] Reduce race between cpu_wait() and need_resched() checking
If a thread became runnable between need_resched() and the WAIT instruction, switching to the thread will delay until a next interrupt. Some CPUs can execute the WAIT instruction with interrupt disabled, so we can get rid of this race on them (at least UP case). Original Patch by Atsushi with fixing up for MIPS Technology's cores by Ralf based on feedback from the RTL designers. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mips-boards')
0 files changed, 0 insertions, 0 deletions