Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Jan 2005 08:02:09 +0800
From:      David Xu <davidxu@freebsd.org>
To:        John Baldwin <jhb@freebsd.org>
Cc:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   Re: PERFORCE change 68252 for review
Message-ID:  <41DC8001.9080403@freebsd.org>
In-Reply-To: <200501051747.18388.jhb@FreeBSD.org>
References:  <200501041314.j04DEVE3017245@repoman.freebsd.org> <200501051747.18388.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
John Baldwin wrote:

>On Tuesday 04 January 2005 08:14 am, David Xu wrote:
>  
>
>>http://perforce.freebsd.org/chv.cgi?CH=68252
>>
>>Change 68252 by davidxu@davidxu_tiger on 2005/01/04 13:14:06
>>
>>	insert "pause" instructor for  i386.
>>	style fix.
>>    
>>
>
>You can use 'cpu_spinwait()' for this to be MI.
>
>  
>
I know there is header file cpu.h, but it is too kernel oriented,
not every arch provides the function to userland, e.g,
alpha defined it in #ifdef _KERNEL section, userland can not
use it, why isn't it in cpufunc.h ?

David



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