Subject: atomic increment?
To: None <port-alpha@netbsd.org>
From: Tobias Nygren <tnn+nbsd@nygren.pp.se>
List: port-alpha
Date: 08/17/2006 12:40:45
Hey all,
From sys/arch/alpha/alpha/interrupt.c:
/* --8<-- */
case ALPHA_INTR_CLOCK: /* clock interrupt */
/*
* We don't increment the interrupt depth for the
* clock interrupt, since it is *sampled* from
* the clock interrupt, so if we did, all system
* time would be counted as interrupt time.
*/
sc->sc_evcnt_clock.ev_count++;
uvmexp.intrs++;
/* --8<-- */
Doesn't uvmexp.intrs++; need to be made atomic on MULTIPROCESSOR?
-Tobias