mirror of
https://github.com/dynup/kpatch
synced 2025-02-16 17:57:02 +00:00
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)))
|
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
|
Sibling calls
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user