lkml.org 
[lkml]   [2009]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/7] initdev:kernel:Asynchronously-discovered device synchronization, v6
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


\
 
 \ /
  Last update: 2009-06-09 00:15    [from the cache]
©2003-2011 Jasper Spaans