Long function names like this usually indicate a flags parameter could be useful:
create_workqueue(NOFREEZE | SINGLETHREAD);
This tends to make the API more future-friendly too. Other than performance (which isn't too critical when creating workqueues), is there any reason to create 2^N function calls instead of N flags?
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds