[PATCH v9 1/9] livepatch: Use lists to manage patches, objects and functions

2018-03-02 Thread Petr Mladek
From: Jason Baron Currently klp_patch contains a pointer to a statically allocated array of struct klp_object and struct klp_objects contains a pointer to a statically allocated array of klp_func. In order to allow for the dynamic allocation of objects and functions, link

[PATCH v9 1/9] livepatch: Use lists to manage patches, objects and functions

2018-03-02 Thread Petr Mladek
From: Jason Baron Currently klp_patch contains a pointer to a statically allocated array of struct klp_object and struct klp_objects contains a pointer to a statically allocated array of klp_func. In order to allow for the dynamic allocation of objects and functions, link klp_patch, klp_object,