LWN.net Logo

When in doubt, add another layer of indirection

When in doubt, add another layer of indirection

Posted Jun 2, 2011 8:33 UTC (Thu) by koverstreet (subscriber, #4296)
In reply to: When in doubt, add another layer of indirection by darthscsi
Parent article: Object-oriented design patterns in the kernel, part 1

In order to make it work with modules you'd need to generate the idx at runtime, which would actually solve both problems...


(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