Re: [PATCH 1/7] initdev:kernel:Asynchronously-discovered devicesynchronization, v6

From: David VomLehn
Date: Mon Jun 08 2009 - 18:11:26 EST


On Sat, Jun 06, 2009 at 05:08:31AM -0400, Stefan Richter wrote:
> I wrote:
> > What happens if the calls or the call arguments aren't balanced, e.g.
> > due to a mistake in an error path? The kernel will hang?
>
> Yes, unless the waiting subsystems implement timeouts.

This is absolutely correct. It would, of course, be possible to add a
timeout, but it would really be papering over a bug. If this every happened,
the proper thing would be to fix the problem.

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