Thread (6 messages) 6 messages, 3 authors, 2016-08-05

Re: [RFC 2/4] bpf, security: Add Checmate

flat view

From: zhuyj <zyjzyj2000@gmail.com>
Date: 2016-08-04 09:34:36
Also in: lkml

 Sure.
Is it better to add
#ifndef CONFIG_PREEMPT_RCU ?

On Thu, Aug 4, 2016 at 4:28 PM, Eric Dumazet [off-list ref] wrote:
Please do not top post

On Thu, 2016-08-04 at 16:08 +0800, zhuyj wrote:
quoted
 +void register_checmate_prog_ops(void);
maybe it is extern void register_checmate_prog_ops(void);?

+       preempt_disable();
+       rcu_read_lock();
IMHO, it is not necessary to use the above 2 since rcu_read_lock will
call preempt_disable.
You might double check if this claim is true if CONFIG_PREEMPT_RCU=y

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help