Re: critical_exit(), td_owepreempt and SW_PREEMPT

From: Jeff Roberson <jroberson_at_chesapeake.net>
Date: Tue, 17 Jul 2007 20:43:08 -0700 (PDT)
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>
>
Received on Wed Jul 18 2007 - 01:39:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:14 UTC