On 01/31/2019 11:29 PM, Daniel Borkmann wrote:
> On 01/29/2019 02:21 AM, Alexei Starovoitov wrote:
>> From: Peter Zijlstra
>>
>> Introduce cant_sleep() macro for annotation of functions that cannot sleep.
>>
>> Use it in BPF_PROG_RUN to catch execution of BPF programs
>> in preemptable context.
>>
On 01/29/2019 02:21 AM, Alexei Starovoitov wrote:
> From: Peter Zijlstra
>
> Introduce cant_sleep() macro for annotation of functions that cannot sleep.
>
> Use it in BPF_PROG_RUN to catch execution of BPF programs
> in preemptable context.
>
> Suggested-by: Jann Horn
> Signed-off-by: Peter Zi
> On Jan 28, 2019, at 5:21 PM, Alexei Starovoitov wrote:
>
> From: Peter Zijlstra
>
> Introduce cant_sleep() macro for annotation of functions that cannot sleep.
>
> Use it in BPF_PROG_RUN to catch execution of BPF programs
> in preemptable context.
>
> Suggested-by: Jann Horn
> Signed-of
From: Peter Zijlstra
Introduce cant_sleep() macro for annotation of functions that cannot sleep.
Use it in BPF_PROG_RUN to catch execution of BPF programs
in preemptable context.
Suggested-by: Jann Horn
Signed-off-by: Peter Zijlstra (Intel)
Signed-off-by: Alexei Starovoitov
---
include/linu