btf: Add a new kfunc flag which allows to mark a function to be sleepable
This allows to declare a kfunc as sleepable and prevents its use in a non sleepable program. Signed-off-by:Benjamin Tissoires <benjamin.tissoires@redhat.com> Co-developed-by:
Yosry Ahmed <yosryahmed@google.com> Signed-off-by:
Yosry Ahmed <yosryahmed@google.com> Signed-off-by:
Hao Luo <haoluo@google.com> Link: https://lore.kernel.org/r/20220805214821.1058337-2-haoluo@google.comSigned-off-by:
Alexei Starovoitov <ast@kernel.org>
Showing
Please register or sign in to comment