LWN.net Logo

Ticket spinlocks

Ticket spinlocks

Posted Feb 7, 2008 9:25 UTC (Thu) by and (subscriber, #2883)
Parent article: Ticket spinlocks

> That raises the maximum system size to 32768 processors. 

hm, why is this a signed 16 bit number when the "small" version of the 
patch uses unsigned 8 bit values? Unsigned 16 bit integers allow up to 
65536 processors...


(Log in to post comments)

Ticket spinlocks

Posted Feb 7, 2008 13:13 UTC (Thu) by jzbiciak (✭ supporter ✭, #5246) [Link]

Are there other structures that limit Linux to 32768?  Perhaps that's the context of the
comment.  I looked at the patch and didn't see anything that really tied it to signedness,
since the comparisons are all equals compares.

Processor limit

Posted Feb 7, 2008 14:20 UTC (Thu) by corbet (editor, #1) [Link]

That was a slip of the brain as I was running out of time to get the article done. Of course the limit is 65536; the article has been fixed. Sorry for the confusion.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds