login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
August
»
6
Re: [PATCH RFC 02/12] x86/ticketlock: convert spin loop to C
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Jeremy Fitzhardinge
Subject:
Re: [PATCH RFC 02/12] x86/ticketlock: convert spin loop to C
Date: Friday, August 6, 2010 - 7:53 am
On 08/06/2010 05:43 AM, Jan Beulich wrote:
quoted text
> You certainly mean "the compiler currently treats this as being:" - I > don't think there's a guarantee it'll always be doing so. > >> for (;;) { >> if (inc.tickets.head == inc.tickets.tail) >> goto out; >> ... >> } >> out: barrier(); >> } >> >> (Which would probably be a reasonable way to clarify the code.) > I therefore think it needs to be written this way.
Agreed. J --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH RFC 00/12] X86 ticket lock cleanups and improvements
, Jeremy Fitzhardinge
, (Fri Jul 16, 6:03 pm)
[PATCH RFC 06/12] x86/ticketlock: make __ticket_spin_trylo ...
, Jeremy Fitzhardinge
, (Fri Jul 16, 6:03 pm)
[PATCH RFC 04/12] x86/ticketlock: make large and small tic ...
, Jeremy Fitzhardinge
, (Fri Jul 16, 6:03 pm)
[PATCH RFC 02/12] x86/ticketlock: convert spin loop to C
, Jeremy Fitzhardinge
, (Fri Jul 16, 6:03 pm)
[PATCH RFC 05/12] x86/ticketlock: make __ticket_spin_lock ...
, Jeremy Fitzhardinge
, (Fri Jul 16, 6:03 pm)
Re: [PATCH RFC 02/12] x86/ticketlock: convert spin loop to C
, Peter Zijlstra
, (Mon Aug 2, 8:07 am)
Re: [PATCH RFC 02/12] x86/ticketlock: convert spin loop to C
, Jeremy Fitzhardinge
, (Mon Aug 2, 8:17 am)
Re: [PATCH RFC 02/12] x86/ticketlock: convert spin loop to C
, Jan Beulich
, (Fri Aug 6, 5:43 am)
Re: [PATCH RFC 02/12] x86/ticketlock: convert spin loop to C
, Jeremy Fitzhardinge
, (Fri Aug 6, 7:53 am)
Re: [PATCH RFC 02/12] x86/ticketlock: convert spin loop to C
, H. Peter Anvin
, (Fri Aug 6, 1:17 pm)
Re: [PATCH RFC 02/12] x86/ticketlock: convert spin loop to C
, Jeremy Fitzhardinge
, (Fri Aug 6, 1:33 pm)
Re: [PATCH RFC 02/12] x86/ticketlock: convert spin loop to C
, H. Peter Anvin
, (Fri Aug 6, 2:09 pm)
Re: [PATCH RFC 02/12] x86/ticketlock: convert spin loop to C
, Jeremy Fitzhardinge
, (Fri Aug 6, 3:03 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 17/36] sysdev: detect multiple driver registrations
Greg Kroah-Hartman
[PATCH 22/36] PM: Make wakeup flags available whenever CONFIG_PM is set
Greg Kroah-Hartman
[PATCH 20/36] Driver core: Call device_pm_add() after bus_add_device() in device_a...
Stephen Boyd
Re: [PATCH 1/3] [ARM] Translate delay.S into (mostly) C
Joe Perches
[PATCH 8/9] kernel/trace: typo fix of faild to failed
git
:
Johannes Schindelin
Re: [PATCH 2/2] git-svn: support fetch with autocrlf on
Mark Burton
Re: [PATCH] builtin-branch: highlight current remote branches with an asterisk
Pieter de Bie
Re: Using url.insteadOf in git-clone
Teemu Likonen
Re: [PATCH] gc --aggressive: make it really aggressive
Junio C Hamano
Re: [PATCH 6/6] Teach core object handling functions about gitlinks
linux-netdev
:
Pavel Emelyanov
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing control.
Denys Vlasenko
[PATCH 1/2] bnx2: factor out gzip unpacker
Daniel Schaffrath
Re: tcp bw in 2.6
Frans Pop
[PATCH] ipv4: make default for INET_LRO consistent with help text
Gerrit Renker
[PATCH 37/37] dccp: Debugging functions for feature negotiation
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
V4L/DVB: ivtv: sizeof() => ARRAY_SIZE()
Linux Kernel Mailing List
ath9k: Added get_survey callback in order to get channel noise
Linux Kernel Mailing List
ALSA: snd-usb-caiaq: Do not expose hardware input mode 0 of A4DJ
Linux Kernel Mailing List
V4L/DVB (9041): Add support YUAN High-Tech STK7700D (1164:1f08)
openbsd-misc
:
Jason Dixon
Re: any web management gui for pf ?
Conor
Re: RFID Reader
Josh Grosse
ssh/sshd challenge-response seems to have stopped working in -current
Pieter Verberne
File collision while using pkg_add
Stuart Henderson
Re: SquidGuard problem
Colocation donated by:
Syndicate