Skip to content

Commit 4a7f340

Browse files
author
Jeremy Fitzhardinge
committed
x86, ticketlock: remove obsolete comment
The note about partial registers is not really relevent now that we rely on gcc to generate all the assembler. Signed-off-by: Jeremy Fitzhardinge <[email protected]>
1 parent 61e2cd0 commit 4a7f340

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

arch/x86/include/asm/spinlock.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,6 @@
4949
* issues and should be optimal for the uncontended case. Note the tail must be
5050
* in the high part, because a wide xadd increment of the low part would carry
5151
* up and contaminate the high part.
52-
*
53-
* With fewer than 2^8 possible CPUs, we can use x86's partial registers to
54-
* save some instructions and make the code more elegant. There really isn't
55-
* much between them in performance though, especially as locks are out of line.
5652
*/
5753
static __always_inline void __ticket_spin_lock(arch_spinlock_t *lock)
5854
{

0 commit comments

Comments
 (0)