Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for May 23, 2013
An "enum" for Python 3
An unexpected perf feature
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
I'm anticipating the follow-on articles to elaborate on how the outspaced macro container_of() performs the analog mechanism to super() from OOP...
Object-oriented design patterns in the kernel, part 1
Posted Jun 3, 2011 9:07 UTC (Fri) by jengelh (subscriber, #33263)
Posted Jun 3, 2011 13:25 UTC (Fri) by linusw (subscriber, #40300)
Posted Jun 6, 2011 3:56 UTC (Mon) by jmm82 (guest, #59425)
Also, container_of is used with the kref code when deleting the struct which has embedded a kref for refence counting.
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds