On 16-12-07 16:22, Ingo Molnar wrote:
looks good to me. Could you please also provide three more controls that i suggested earlier:
- a boot option enabling/disabling the udelay based code
- a .config method of enabling/disabling the udelay based code
- a sysctl to toggle it
if we want to clean this all up we'll need as many controls as possible.
This version does the boot and the .config option but not the sysctl. It makes for clumsy code and I don't believe it provides for much added value as soon as you have the boot option. I am moreover not completely confident about things such as paravirt liking the possibility of the native_io_delay being changed out from under them at unpredictable times.