Re: [PATCH][input-led] Defer input led work to workqueue

From: Johannes Berg
Date: Tue Aug 26 2014 - 04:02:59 EST


On Tue, 2014-08-26 at 03:54 +0200, Samuel Thibault wrote:

> + vt_led_wq = alloc_workqueue("input_leds", WQ_UNBOUND, 0);
> + if (!vt_led_wq)
> + return -ENOMEM;

Does this really need a separate workqueue rather than just using
schedule_work()? There doesn't seem to be much point in having its own
workqueue really, to me.

johannes

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