Private data structures are mostly allocated at driver load or open time, so I guess there's not much of a performance penalty.
However, you need to keep the magic number around, too, so the kernel again gets a bit larger. You'd say this is unneeded bloat, since kernel code should be error free :-)
Copyright © 2018, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds