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

From: Martin Schwidefsky
Date: Thu Apr 29 2004 - 02:45:00 EST






> Looks good except that I am wondering if idle_cpu_mask should
> really be called nohz_cpu_mask. That is what it is, after all.

I don't thinks so. The idle_cpu_mask isn't dependent on the
no hz timer feature. I think it would make sense to set the
bits in idle_cpu_mask even on system that use the normal hz timer.
The tricky part is to find a way to clear the bits again after
a wakeup interrupt. This needs to be done before the interrupt
function is executed, you can't do it in idle().

blue skies,
Martin

Linux/390 Design & Development, IBM Deutschland Entwicklung GmbH
Schönaicherstr. 220, D-71032 Böblingen, Telefon: 49 - (0)7031 - 16-2247
E-Mail: schwidefsky@xxxxxxxxxx


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