On Mon, 2006-01-30 at 11:36 +0100, Jan Engelhardt wrote: > > > >well... maybe. > >If you need to mess inside irq context, spinlocks sound more the right > >thing. Or if you need to do a "I'm done" in the irq and a "sleep until > >done" thing in process context, then you really should use completions > >instead. > > Hm, is it allowed to call copy_{from,to}_user() in irq context? absolutely not. IRQ context has no defined "userspace" context at all, so even if copy_from/to_user wouldn't sleep (they do, and that alone makes it "illegal" to do already) it would be highly undefined what you would be copying to/from. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH 2.6.16-rc1-git4] accessfs: a permission managing filesystem
- From: Jan Engelhardt <[email protected]>
- Re: [PATCH 2.6.16-rc1-git4] accessfs: a permission managing filesystem
- References:
- [PATCH] 2.6.15: access permission filesystem 0.17
- From: Olaf Dietsche <[email protected]>
- Re: [PATCH] 2.6.15: access permission filesystem 0.17
- From: Rolf Eike Beer <[email protected]>
- [PATCH 2.6.16-rc1-git4] accessfs: a permission managing filesystem
- From: Olaf Dietsche <[email protected]>
- Re: [PATCH 2.6.16-rc1-git4] accessfs: a permission managing filesystem
- From: Andrew Morton <[email protected]>
- Re: [PATCH 2.6.16-rc1-git4] accessfs: a permission managing filesystem
- From: Jan Engelhardt <[email protected]>
- Re: [PATCH 2.6.16-rc1-git4] accessfs: a permission managing filesystem
- From: Andrew Morton <[email protected]>
- Re: [PATCH 2.6.16-rc1-git4] accessfs: a permission managing filesystem
- From: Jan Engelhardt <[email protected]>
- Re: [PATCH 2.6.16-rc1-git4] accessfs: a permission managing filesystem
- From: Arjan van de Ven <[email protected]>
- Re: [PATCH 2.6.16-rc1-git4] accessfs: a permission managing filesystem
- From: Jan Engelhardt <[email protected]>
- Re: [PATCH 2.6.16-rc1-git4] accessfs: a permission managing filesystem
- From: Arjan van de Ven <[email protected]>
- Re: [PATCH 2.6.16-rc1-git4] accessfs: a permission managing filesystem
- From: Jan Engelhardt <[email protected]>
- Re: [PATCH 2.6.16-rc1-git4] accessfs: a permission managing filesystem
- From: Arjan van de Ven <[email protected]>
- Re: [PATCH 2.6.16-rc1-git4] accessfs: a permission managing filesystem
- From: Jan Engelhardt <[email protected]>
- [PATCH] 2.6.15: access permission filesystem 0.17
- Prev by Date: Re: patch "e100: Fix TX hang and RMCP Ping issue" (post-2.6.16-rc1) causes suspend-to-ram breakage
- Next by Date: Re: Display corruption with radeonfb after resuming from suspend-to-ram
- Previous by thread: Re: [PATCH 2.6.16-rc1-git4] accessfs: a permission managing filesystem
- Next by thread: Re: [PATCH 2.6.16-rc1-git4] accessfs: a permission managing filesystem
- Index(es):