Messages in this thread | | | From | (Alan Cox) | Subject | Re: integrity of user-space copy | Date | Sat, 8 May 1999 02:47:55 +0100 (BST) |
| |
> When copying data to/from user-space, we know the operation can sleep. And > interrupt driven events (including timers) can interrupt even a > non-sleeping user-space access, right?
Right
> idea because the user-space access might sleep. Should I simply copy the > data first with interrupts disabled, and then do the transfer?
Set a flag so the IRQ handler knows to punt, or keep two buffers, one copy one active
- 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/
| |