Re: Uptime timer-wrap

Zwane Mwaikambo (zwane@mwaikambo.name)
Fri, 6 Sep 2002 14:53:55 +0200 (SAST)


On Fri, 6 Sep 2002, Richard B. Johnson wrote:

> Do you have an idea where to look? I need to prevent the possibility
> of waiting forever for an event that may never occur, with interrupts
> disabled, on at least one embedded system. Any wait-forever possibility
> must be interruptible because any watch-dog timer that re-boots will end
> up destroying data that must never be lost.

Remove the 'wait forever' (really if you're waiting forever you have a
bug anyway, be it hardware or otherwise) and break the entire kernel? Or
perhaps sprinkle timeouts in every little crevice of the kernel code.

Zwane

-- 
function.linuxpower.ca

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/