small dtrace patch for review

John Baldwin jhb at freebsd.org
Mon Dec 6 16:18:52 UTC 2010


On Friday, December 03, 2010 11:57:42 am Andriy Gapon wrote:
> 
> The patch is not about DTrace functionality, but about infrastructure use in one
> particular place.
> http://people.freebsd.org/~avg/dtrace_gethrtime_init.diff
> I believe that sched_pin() is need there to make sure that "host"/base CPU stays
> the same for all calls to smp_rendezvous_cpus().
> The pc_cpumask should just be a cosmetic change.

Looks good to me.

-- 
John Baldwin


More information about the freebsd-hackers mailing list