kobject_create knows the size of struct kobject. Move it to
linux_compat.c so this knowledge is confined to the loadable module and
not the clients.
Sponsored by: Netflix
Differential D34767
linuxkpi: move kobject_create to .c file imp on Apr 4 2022, 5:03 PM. Authored by Tags None Referenced Files
Details kobject_create knows the size of struct kobject. Move it to Sponsored by: Netflix
Diff Detail
Event TimelineComment Actions I assume there is no performance concern with this. (a minute later) Comment Actions None of this series of commits are performance critical. They are all startup-only or otherwise rare events as far as I can tell... |