Re: [RFC][PATCH] Make prepare_namespace() wait for devices

From: Andi Kleen
Date: Fri May 18 2007 - 12:58:28 EST


Pierre Ossman <drzeus-list@xxxxxxxxx> writes:
>
> If the device never shows up than we will hang in an infinite loop.
> Previously we panic:ed instead, so this behaviour should be no
> worse.


Actually that's not correct. With panic=30 and lilo -R and a working
backup kernel a system can recover from this. With your endless loop it can't.

Always add some kind of timeout.

-Andi


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