Strange issue after early AP startup

Hans Petter Selasky hps at selasky.org
Wed Jan 18 08:00:09 UTC 2017


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


More information about the freebsd-current mailing list