SMP syscall timing program (was Re: Why are all accesses to the cpl surrounded by a lock?)

2000-03-25 Thread Matthew Dillon
:Otherwise right now your guess is as good as mine. : :As a side note, it seems silly that we do this: : :MPLOCKED incl _cnt+V_SYSCALL :SYSCALL_LOCK :call_syscall : :I think per-cpu statistics would be an interesting optimization, :since you're testing all of this, have

Re: Why are all accesses to the cpl surrounded by a lock?

2000-03-25 Thread Alfred Perlstein
* Matthew Dillon <[EMAIL PROTECTED]> [000324 21:52] wrote: > I've been doing more SMP cleanup and for the life of me I can't figure > out why cpl operations are surrounded by its own [S]CPL_LOCK ?? > > As far as I can tell, the cpl is only accessed/modified: > > * by mainline c

Why are all accesses to the cpl surrounded by a lock?

2000-03-24 Thread Matthew Dillon
I've been doing more SMP cleanup and for the life of me I can't figure out why cpl operations are surrounded by its own [S]CPL_LOCK ?? As far as I can tell, the cpl is only accessed/modified: * by mainline code while the MP lock is held * by an interrupt while the MP