> * Involuntary happens anytime. (lwp_park(), read(), fstat(), putmsg(),
> gtime() and sometime without any system call!!)
Hence the name (involuntary) ... :^)
Involuntary context switches result from a thread being preempted, and the
preemption will happen for 1 of 2 reasons:
1. The thread used it's time quantum, in which case the kernel uses the
preemption mechanism to
kick it off the CPU.
2. A higher priority thread is enqueued on the CPUs run queue. You can
track this activity
with /usr/demo/dtrace/whopreempt.d.
What is it you're seeing that you find unexpected?
Thanks,
/jim
_______________________________________________
dtrace-discuss mailing list
[email protected]