mirror of https://github.com/dynup/kpatch
patch-author-guide: Add latest jump label status
Mention that jump labels in patched functions are mostly supported for Linux 5.8+. Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
This commit is contained in:
parent
373993ec1c
commit
b21b35f7d4
|
@ -759,6 +759,10 @@ if (static_key_enabled(&false_key))
|
|||
if (likely(static_key_enabled(&key)))
|
||||
```
|
||||
|
||||
Note that with Linux 5.8+, jump labels in patched functions are now supported
|
||||
when the static key was originally defined in the kernel proper (vmlinux). The
|
||||
above error will not be seen unless the static key lives in a module.
|
||||
|
||||
Sibling calls
|
||||
-------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue