[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-arm-kernel
Subject: race condition in do_IRQ
From: Alexander Hoffmann <Alexander.Hoffmann () sysgo ! de>
Date: 2004-05-05 15:37:05
Message-ID: 40990A21.7000409 () sysgo ! de
[Download RAW message or body]
Hi everyone,
the following code snipet can be found in /kernel/irq.c: do_IRQ(...)
[line 231- 237].
In my opinion this code should be atomic!
...
if (desc->running || desc->disable_depth)
goto running;
/*
* Mark the IRQ currently in progress.
*/
desc->running = 1;
...
Can anyone please tell me why it isn't ?
best regards,
Alex.
-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ: http://www.arm.linux.org.uk/armlinux/mlfaq.php
Etiquette: http://www.arm.linux.org.uk/armlinux/mletiquette.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic