summaryrefslogtreecommitdiff
path: root/compile
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2009-05-23 16:00:01 +0200
committerTobias Klauser <tklauser@distanz.ch>2009-05-24 12:05:26 +0200
commit29dd244ddd53b8acf4a2b9abe3fd62bf44575bbd (patch)
treee43f66bafe897a2882209865b52b4edbdeff8c77 /compile
parentb37e0da0b7dc72ddfa513e319ca71b5f5b8aeb7d (diff)
Security fix for cscope 15.6-2 in etch (CVE 2009-0148)15.6-2+etch1oldstable-security
Diffstat (limited to 'compile')
0 files changed, 0 insertions, 0 deletions
areful about not missing TIF_NEED_RESCHED -> PREEMPT_NEED_RESCHED propagations. While looking at this, I also realized there's a small window in the existing idle loop where we can miss TIF_NEED_RESCHED; when it hits right after the tif_need_resched() test at the end of the loop but right before the need_resched() test at the start of the loop. So move preempt_fold_need_resched() out of the loop where we're guaranteed to have TIF_NEED_RESCHED set. Signed-off-by: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/n/tip-x9jgh45oeayzajz2mjt0y7d6@git.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched/core.c')