Re: [PATCH] 2.4.0-prerelease: preemptive kernel.

David Woodhouse (dwmw2@infradead.org)
Thu, 4 Jan 2001 09:00:50 +0000 (GMT)


On Wed, 3 Jan 2001, ludovic fernandez wrote:

+#if 1
+ /*
+ * I got some problems with PCMCIA initialization and a
+ * preemptive kernel;
+ * init_pcmcia_ds() beeing called before the completion
+ * of pending scheduled tasks. I don't know if this is the
+ * right fix though.
+ */
+ flush_scheduled_tasks();
+#endif

Not really the right fix, but it'll do. The right fix is probably to
register the socket immediately in yenta_open() rather than doing it from
the queued task. We just weren't brave enough to make that change though,
when it was working anyway.

-- 
dwmw2

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/