atom feed4 messages in org.freebsd.p4-projectsPERFORCE change 68252 for review
FromSent OnAttachments
David XuJan 4, 2005 1:15 pm 
John BaldwinJan 5, 2005 10:50 pm 
David XuJan 6, 2005 12:01 am 
John BaldwinJan 6, 2005 10:46 am 
Subject:PERFORCE change 68252 for review
From:John Baldwin (jh@FreeBSD.org)
Date:Jan 6, 2005 10:46:14 am
List:org.freebsd.p4-projects

On Wednesday 05 January 2005 07:02 pm, David Xu wrote:

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 ?

That should be fixed then. I think cpu_spinwait() should be ok for userland use, so I think it can be moved to cpufunc.h.