diff options
| author | Ingo Molnar <mingo@redhat.com> | 2004-10-24 18:24:40 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-10-24 18:24:40 -0700 |
| commit | 026a94485f27f06225fc2b2cd94ca81be584cd35 (patch) | |
| tree | f77a70b7a9fcd2fad627ff8f0d58478f83862778 /lib/kernel_lock.c | |
| parent | 87f882e4fbf5bdbedbd5189210ee01d43af15f1b (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
