Re: Uptime timer-wrap

From: Zwane Mwaikambo (zwane@mwaikambo.name)
Date: Fri Sep 06 2002 - 07:53:55 EST


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/



This archive was generated by hypermail 2b29 : Sat Sep 07 2002 - 22:00:28 EST