[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <28b8b7dc-6bc5-2982-3e57-a121dbe30873@iogearbox.net>
Date: Tue, 19 Feb 2019 21:58:48 +0100
From: Daniel Borkmann <daniel@...earbox.net>
To: Alexei Starovoitov <ast@...nel.org>, davem@...emloft.net
Cc: peterz@...radead.org, jannh@...gle.com, paulmck@...ux.ibm.com,
will.deacon@....com, mingo@...hat.com, netdev@...r.kernel.org,
kernel-team@...com
Subject: Re: [PATCH bpf-next] bpf: check that BPF programs run with preemption
disabled
On 01/31/2019 11:29 PM, Daniel Borkmann wrote:
> On 01/29/2019 02:21 AM, Alexei Starovoitov wrote:
>> From: Peter Zijlstra <peterz@...radead.org>
>>
>> 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 <jannh@...gle.com>
>> Signed-off-by: Peter Zijlstra (Intel) <peterz@...radead.org>
>> Signed-off-by: Alexei Starovoitov <ast@...nel.org>
>
> (Just fyi, will let this sit in patchwork till the preemption fixes have been
> merged back from bpf into bpf-next as otherwise people will yell that they
> hit this frequently.)
Pushed out now, thanks!
Powered by blists - more mailing lists