Hi, > -----Original Message----- > From: "D�hr, Markus ICC-H" [mailto:[EMAIL PROTECTED] > Sent: Donnerstag, 10. Juni 2004 12:07 > To: Mensing, Joerg; "D�hr, Markus ICC-H"; '[EMAIL PROTECTED]' > Subject: RE: Solaris/x86: RTESys_AsmSpinlock.s > > > Just for curiosity: > > > i am sorry, but there is no such ifdef. The code has been > > changed to automatically detect (via CPUID) if it is possible > > to use 'sfence' (store fence AKA write memory barrier) > > instead of 'lock cmpxchg' for unlocking. This result is > [...] > The detection is executed once (whenever it is needed first time) and the result is stored. After that every time the result is used to branch into the CPU specific code... This costs as much as a dereferencing would cost... The alternative would be to have a Pentium4 only code. CU jrg
> Is this executed on kernel start once or more often? I'll try > this code as > soon as I'm in the office. > > > Hope this helps you Solaris/X86 efforts. > > CU > > jrg > > I very much appreciate that - thank you! > > > Regards, > > > SIEGENIA-AUBI KG > Informationswesen > > i.A. > > Markus D�hr > SAP-CC/BC, SAPDB-DBA > > Tel.: +49 6503 917-152 > Fax: +49 6503 917-7152 > E-Mail: [EMAIL PROTECTED] > Internet: http://www.siegenia-aubi.com > > > -- > MaxDB Discussion Mailing List > For list archives: http://lists.mysql.com/maxdb > To unsubscribe: > http://lists.mysql.com/[EMAIL PROTECTED] > -- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]
