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

From: Martin Schwidefsky
Date: Thu Apr 22 2004 - 06:21:12 EST






> is this generally useful, eg can all architectures use the
> infrastructure you propose ? I seriously hope so; s390 isn't the only
> one who would benefit, I'd love to see a generic thing for this.

It is. All you have to do is to rework the timer functions for the
architecture you want to support. This can be quite complicated
though. There are some subtle races if you want to switch of the
100 HZ timer for a cpu. We had some problem with cpus that didn't
want to wake up anymore ...

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/