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:
Josh Poimboeuf 2022-04-22 08:35:19 -07:00
parent 373993ec1c
commit b21b35f7d4
1 changed files with 4 additions and 0 deletions

View File

@ -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
-------------