On Fri, Feb 07, 2003 at 11:07:33AM +1100, David Gibson wrote:
> >
> > I had an argument with David a few month ago on the subject
> > (you can ask him how it ended). I believe that it's not a good
> > practice to "schedule" in any of the ioctl, and that seem to also
> > apply to get_wireless_stats. On the other hand, you can perfectly take
> > a spinlock, disable irq and do your job.
>
> Yes, this is because most of the device ioctl() calls are made with
> one or more spinlocks held by the network layer.
>
> --
> David Gibson
Thanks for the clarification, appreciated...
Jean
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Feb 07 2003 - 22:00:22 EST