I want to change struct members layout in a header file to prevent false sharing.But I have to recompile the entire kernel and install the new kernel after that.
Is there any methods to modify Linux kernel header file without recompiling the entire kernel? Livepatch only support modifing some functions in c file, but not header file.
I tried to make some code modifications in the .c file, but doing so can introduce unpredictable risks.