Re: [PATCH RFC nohz_full 0/7] v2 Provide infrastructure for full-system idle

From: Andi Kleen
Date: Mon Jul 01 2013 - 11:20:51 EST


"Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx> writes:
>
> The individual patches are as follows:
>
> 1. Add a CONFIG_NO_HZ_FULL_SYSIDLE Kconfig parameter to enable
> this feature. Kernels built with CONFIG_NO_HZ_FULL_SYSIDLE=n
> act exactly as they do today.

Is this extra CONFIG option really needed? RCU already has a bewildering
variety of CONFIG options, and no idle CONFIG is also pretty complicated.
At some point noone will know how to configure kernels anymore if
these non trivial, complicated trade off CONFIGs keep spreading.

The facility sounds like a good thing in general. Just enable
it implicitely with NO_HZ_SYSIDLE ?

If you want a switch for testing I would advise a sysctl or sysfs knob

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only
--
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/