Messages in this thread | | | Date | Thu, 6 Feb 2003 16:36:35 -0800 | Subject | Re: 2.5 kernel + hostap_cs + X11 = scheduling while atomic | From | Jean Tourrilhes <> |
| |
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/
| |