Re: [PATCH 4/5] select: make select() use schedule_hrtimeout()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alan Cox
Date: Friday, August 29, 2008 - 9:11 am

> "schedule_timeout()", there's a big difference between asking for two 

I disagree - that is fixing the problem in the wrong place. The timer
structure needs an accuracy field of some form that the existing timer
functions initialise to 0.

On a heavily loaded system with things like network events the behaviour
of the overall system is too complex to do the job well except at the
timer level which seems all. At the virtualisation level the hypervisor
needs to be doing the work to merge timer events between guests for power
management.

Once the timers have an accuracy representation there doesn't need to be
any real difference anywhere in the stack.

Alan
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/5] select: add a timespec version of the timeout ..., Arjan van de Ven, (Fri Aug 29, 8:06 am)
[PATCH 3/5] select: introduce a schedule_hrtimeout() function, Arjan van de Ven, (Fri Aug 29, 8:07 am)
[PATCH 4/5] select: make select() use schedule_hrtimeout(), Arjan van de Ven, (Fri Aug 29, 8:08 am)
Re: [PATCH 4/5] select: make select() use schedule_hrtimeout(), Alan Cox, (Fri Aug 29, 9:11 am)
Re: [PATCH 4/5] select: make select() use schedule_hrtimeout(), Arjan van de Ven, (Fri Aug 29, 10:42 am)