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)
commitd24f7c7fb91d94556936f2511035d1f123b449f4
treea409d9dbade490e81982c88415949dc3f2aae89d
parent728a853a44a0f01111883f95216e980722474c07
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