Messages in this thread | | | Date | Sat, 21 Aug 1999 12:03:41 +0200 (CEST) | From | Andrea Arcangeli <> | Subject | Re: [PATCH] i386 rwlock bug? |
| |
On Fri, 20 Aug 1999 manfreds@colorfullife.com wrote:
>if a writer spins (interupts are enabled), then an interrupt occurs, >then you have a dead-lock.
This is true also with the current code. You must locally disable irqs before going to spin over a write-lock if some reader can run inside irq handlers.
Andrea
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |