On Feb 7, 2008 12:32 PM, Mulyadi Santosa <[EMAIL PROTECTED]> wrote:
> Hi...
>
> On Feb 7, 2008 9:17 PM, Ramagudi Naziir <[EMAIL PROTECTED]> wrote:
> > hi everyone,
> >
> > is it allowed to use the copy from/to userspace with irq disabled ?
>
> Hm, it might block...don't you think?
>
> regards,
>
>
Le Thu, 7 Feb 2008 18:19:07 +0200,
"Ramagudi Naziir" <[EMAIL PROTECTED]> a écrit :
> in iw_handler.h... and tried to understand why it is a problem..
This is a problem because copy_to_user() and copy_from_user() can
block. So you're not allowed to use them in an atomic context
(interrupt handler
On Feb 7, 2008 6:04 PM, Martin Candurra <[EMAIL PROTECTED]> wrote:
> > On Feb 7, 2008 9:17 PM, Ramagudi Naziir <[EMAIL PROTECTED]> wrote:
> > > is it allowed to use the copy from/to userspace with irq disabled ?
> As Mulyadi said copy from/to user space may block (try to think that the
> page you w
Mulyadi Santosa wrote:
Hi...
On Feb 7, 2008 9:17 PM, Ramagudi Naziir <[EMAIL PROTECTED]> wrote:
hi everyone,
is it allowed to use the copy from/to userspace with irq disabled ?
Hm, it might block...don't you think?
regards,
Mulyadi.
--
To unsubscribe from this list: send an email
Hi...
On Feb 7, 2008 9:17 PM, Ramagudi Naziir <[EMAIL PROTECTED]> wrote:
> hi everyone,
>
> is it allowed to use the copy from/to userspace with irq disabled ?
Hm, it might block...don't you think?
regards,
Mulyadi.
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbie
hi everyone,
is it allowed to use the copy from/to userspace with irq disabled ?
thank you all
naziir
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ