Re: [patch] jiffies wraparound [Re: 2.1.125 Show stopper list: Draft]

MOLNAR Ingo (mingo@chiara.csoma.elte.hu)
Sun, 18 Oct 1998 07:10:44 +0200 (CEST)


On Sat, 17 Oct 1998, Andrea Arcangeli wrote:

> I think a safe (safe because the complier will allow us to not fail) and
> strightforward way to fix this major wrap bug in schedule() is to change
> timeout in timeout_value and to add a new bitwise flag called use_timeout
> in the task struct. This new flag will tell us if we have to check the
> timeout value or if we must sleep forever waiting for a signal.

the meaning of special timeout values can be preserved if we change the
meaning of p->timeout to delta, instead of absolute values. (a name change
is wise to help conversion)

-- mingo

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