mirror of https://github.com/dynup/kpatch
doc: kpatch-build uses "replace" flag by default
Add documentation about kpatch-build enables livepatch "replace" flag by default, and provides -R|--non-replace option to disable the flag. Signed-off-by: Song Liu <song@kernel.org>
This commit is contained in:
parent
17dcebf077
commit
69e69d59e8
|
@ -39,6 +39,13 @@ recommended that when patching a system which has already been patched, the
|
|||
second patch should be a cumulative upgrade which is a superset of the first
|
||||
patch.
|
||||
|
||||
Since upstream kernel 5.1, livepatch supports a "replace" flag to help the
|
||||
management of cumulative patches. With the flag set, the kernel will load
|
||||
the cumulative patch and unload all existing patches in one transition.
|
||||
kpatch-build enables the replace flag by default. If replace behavior is
|
||||
not desired, the user can disable it with -R|--non-replace.
|
||||
|
||||
|
||||
Data structure changes
|
||||
----------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue