* quan.x...@gmail.com <quan.x...@gmail.com> wrote:

> > > could I only leave paravirt_poll_threshold_ns parameter (the maximum poll 
> > > time),
> > > which is as similar as "adaptive halt-polling" Wanpeng mentioned.. then 
> > > user can
> > > turn it off, or find an appropriate threshold for some odd scenario..
> > That way lies utter madness. Maybe add it as a debugfs knob, but exposing 
> > it to
> > userspace: NAK.
> > 
> .. so, I will make these 3 parameters by default in next v4.
>      paravirt_poll_threshold_ns = 200000
>      paravirt_poll_shrink = 2
>      paravirt_poll_grow = 2
> 
> neither touch the syscal ABI nor expose it to userspace again.

Note that you can still expose it to developers via debugfs knobs.

I.e. same development and testing flexibility, but no ABI promise and an 
implicit 
expectation for this mechanism to be self-tuning.

Thanks,

        Ingo

Reply via email to