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

From: Christoph Hellwig
Date: Wed Apr 21 2004 - 11:34:22 EST


On Wed, Apr 21, 2004 at 06:31:08PM +0200, Martin Schwidefsky wrote:
> > This is a bit ugly. What about inlining the CONFIG_NO_IDLE_HZ case
> > of this function in it's only caller and define idle_cpu_mask to
> > an empty cpu mask for all other arches?
>
> This would mean that all other arches need to do the above three
> statements in rcu_start_batch. If this is acceptable we certainly
> can introduce a global idle_cpu_mask. Where? sched.c?

My hope was gcc would actually optimize it away if it was a CPP constant
instead of a variable.

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