Re: Strange issue after early AP startup

From: John Baldwin <jhb_at_freebsd.org>
Date: Tue, 17 Jan 2017 17:14:31 -0800
On Tuesday, January 17, 2017 10:35:06 PM Hans Petter Selasky wrote:
> On 01/17/17 22:28, Hans Petter Selasky wrote:
> > +                       state->nextcall = SBT_MAX;
> > +                       state->nextcallopt = now + 1;
> 
> BTW: What locks are protecting the update of these fields? Can they be 
> written simultaneously by configtimer() and cpu_new_callout()?

Both functions do ET_HW_LOCK() of DPCPU_PTR(timerstate).

-- 
John Baldwin
Received on Wed Jan 18 2017 - 00:20:55 UTC

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