Re: Strange issue after early AP startup

From: Hans Petter Selasky <hps_at_selasky.org>
Date: Wed, 18 Jan 2017 08:59:33 +0100
On 01/18/17 02:18, John Baldwin wrote:
> Note that 'nextevent' remains a full 'timerperiod' out (now + timerperiod)
> and so the first clock interrupt is still 'timerperiod' time away and
> any callouts are delayed by that amount of time.  Also, I think you could
> set nextcallopt to 'now' rather than 'now + 1'.

Hi,

Does that mean the following piece of code is missing from getnextevent():

>         /* Handle callout events. */
>         if (event > state->nextcall)
>                 event = state->nextcall;

Like getnextcpuevent() is doing?

--HPS
Received on Wed Jan 18 2017 - 07:00:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:09 UTC