Re: [PATCH] USB: fix Scheduling while atomic warning when resuming.

From: Jeff Garzik
Date: Tue Dec 21 2004 - 23:48:53 EST


David Brownell wrote:
On Tuesday 21 December 2004 7:48 pm, Jeff Garzik wrote:

If we are going for a minimalist -rc patch, why not drop the lock, sleep, then reacquire the lock?


If that lock were dropped, what would prevent other tasks from
touching the hardware while it's sending RESUME signaling down
the bus, and thereby mucking up the resume sequence?

Precisely what other tasks are active for this hardware, during resume?

Jeff



-
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/