LWN.net Logo

When in doubt, add another layer of indirection

When in doubt, add another layer of indirection

Posted Jun 3, 2011 7:57 UTC (Fri) by josh (subscriber, #17465)
In reply to: When in doubt, add another layer of indirection by sethml
Parent article: Object-oriented design patterns in the kernel, part 1

Most of the time, only one copy of those structures exists, so saving a few bits doesn't seem worth the extra complexity and the extra indirection.


(Log in to post comments)

When in doubt, add another layer of indirection

Posted Jun 9, 2011 7:44 UTC (Thu) by kevinm (guest, #69913) [Link]

The savings are per inode, not per inode_ops.

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