Re: [PATCH] s390 (9/9): no timer interrupts in idle.

From: Martin Schwidefsky
Date: Thu Apr 22 2004 - 08:05:18 EST






> xtime is easy, that's interpolated anyway afaics. Jiffies would either
just
> jump some, which code needs to deal with anyway given that preempt can do
> the same, or would become an approximated thing as well based on the
other
> time keeping sources in the system.

Unluckily no. xtime is not easy because the network stack uses this for
time stamps at several locations. Living in the past and time stamps for
network packets don't go together, do they?

> calculating the load can be a real timer for sure (which would cause an irq
> at that time), cpu limits we can do at the end of timeslice (and set the
> timeslice such that the limits won't be exceeded).

Nod, the load could easily be done with an add_timer and we can live with a
small inaccuracy as far as the cpu limits are concerned.

By the way I am planning to do a BOFS at the OLS in july where I'd like
to discuss exactly this kind of questions. Any chance that you'd be there
too?

blue skies,
Martin

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