]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: bpf_lock on kallsysms doesn't need to be irqsave
authorHannes Frederic Sowa <hannes@stressinduktion.org>
Wed, 26 Apr 2017 23:39:33 +0000 (01:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Apr 2017 19:48:14 +0000 (15:48 -0400)
commitb9d137b1d52a0299442135c2c436cb3c8f162941
treea409d9dbade490e81982c88415949dc3f2aae89d
parent8c4cfc49e481a359a09ecba666a920d915f4f791
bpf: bpf_lock on kallsysms doesn't need to be irqsave

Hannes rightfully spotted that the bpf_lock doesn't need to be
irqsave variant. We never perform any such updates where this
would be necessary (neither right now nor in future), therefore
relax this further.

Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
kernel/bpf/core.c