Hi,

If I have kernel source S, apply a kpatch module A, but then want to
'revert' parts of A, by applying a cumulative patch B, such that some
functions are no longer different from source kernel S, how do I do that?

It seems like there are a few options:

1) remove or disable module A, then load module B. This leaves an
un-patched window and rmmod isn't possible without reliable backtrace.
I'm also not sure this works with the kpatch 'stacking'.

2) modify patch B such that any functions that are initially unchanged
from S, are in fact modified but modified in an acceptable way.

3) maybe the kernel can understand that are not added to or modified by
a cumulative patch should be reverted back to their original state?

#3 seems to me to be the cleanest...but maybe I'm missing something...

Thanks,

-Jason

_______________________________________________
kpatch mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/kpatch

Reply via email to