Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jul 2007 20:43:08 -0700 (PDT)
From:      Jeff Roberson <jroberson@chesapeake.net>
To:        "YAMAMOTO, Taku" <taku@tackymt.homeip.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: critical_exit(), td_owepreempt and SW_PREEMPT
Message-ID:  <20070717204222.I561@10.0.0.1>
In-Reply-To: <20070718111929.22bf3eb3.taku@tackymt.homeip.net>
References:  <20070718111929.22bf3eb3.taku@tackymt.homeip.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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@tackymt.homeip.net>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070717204222.I561>