> 2) patch them more simply, the .subsection entries would > be "kern_addr, insn" __u32 pairs on x86 for example. This can be made a single u32 by using the MSB for the insn and doing this with additions so that it works with relocations. It might not be possible for modules, though.