> From: Fenghua Yu [mailto:fenghua...@intel.com]
> On Wed, Feb 20, 2019 at 10:37:27PM -0800, Andy Lutomirski wrote:
> Or to simplify the situation, how about we still use zero as global max wait
> time (i.e. no limitation for global wait time) as implemented in this patch
> set? User can still change the value to any value based on their usage. Isn't
> this a right way to take care of any usage?

Plus, if scheduler timers works, umwait will be forced time out by timer in HZ 
anyway.

Only for case without scheduler timer, sysadmin may need to set a small max 
umwait time to force timout. But in this case (real time), I doubt user app 
really wants to call umwait to save power with long latency of waking up from 
umwait. So likely in this case, user app won't call umwait and there is no 
usage to set a small value for max umwait time. 

Thanks.

-Fenghua

Reply via email to