critical_exit(), td_owepreempt and SW_PREEMPT
Jeff Roberson
jroberson at chesapeake.net
Wed Jul 18 03:39:54 UTC 2007
On Wed, 18 Jul 2007, YAMAMOTO, Taku wrote:
> Greetings,
>
> I had found that critical_exit() calls mi_switch() without SW_PREEMPT
> when td_owepreempt is set.
>
> Should the first argument at that line be SW_INVOL|SW_PREEMPT?
Yes, you're right. I'll test later and see how this effects perf. It
might be an improvement although in most cases there isn't very much
preempting going on.
Thanks,
Jeff
>
>
> --
> YAMAMOTO, Taku <taku at tackymt.homeip.net>
>
More information about the freebsd-current
mailing list