LWN.net Logo

Per-CPU variables and the realtime tree

Per-CPU variables and the realtime tree

Posted Sep 19, 2011 15:39 UTC (Mon) by sfink (subscriber, #6405)
Parent article: Per-CPU variables and the realtime tree

I haven't looked at the code, but if you're requiring get_cpu to be protected by a lock, then could you change the signature to require the lock to be passed in? It need not actually *do* anything with the lock.


(Log in to post comments)

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