Re: 2.6.21-rc suspend regression: sysfs deadlock

From: Dmitry Torokhov
Date: Thu Mar 15 2007 - 09:22:47 EST


On 3/15/07, Oliver Neukum <oneukum@xxxxxxx> wrote:
Am Donnerstag, 15. März 2007 13:31 schrieb Hugh Dickins:
> Quite apart from this mysterious "other task", I don't understand
> "access" either.
>
> Perhaps "defer" would best capture the idea of another-task and
> maybe-delay? sysfs_defer_work(), struct sysfs_deferred_work?

But we do not wish to defer or delay anything.
How about: sysfs_action_from_neutral_context


How about sysfs_schedule_work? That is what it does - schedules a work
on a sysfs object and everyone here knows what schedule_work() does.

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