summaryrefslogtreecommitdiff
path: root/lib/kernel_lock.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@redhat.com>2004-10-24 18:24:40 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-10-24 18:24:40 -0700
commit026a94485f27f06225fc2b2cd94ca81be584cd35 (patch)
treef77a70b7a9fcd2fad627ff8f0d58478f83862778 /lib/kernel_lock.c
parent87f882e4fbf5bdbedbd5189210ee01d43af15f1b (diff)
[PATCH] Avoid small irq preemption recursion window
This will get rid of the stack recursion possibility that can occur if an IRQ happens to hit the IRQ return path right after we've reset preempt_count() to 0 and are about to disable interrupts again. Trivially fixed by just moving the preempt count update to inside the interrupt disable. This makes the current PREEMPT_ACTIVE method fully work for IRQ recursions.
Diffstat (limited to 'lib/kernel_lock.c')
0 files changed, 0 insertions, 0 deletions