lkml.org 
[lkml]   [2016]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC 2/4] bpf, security: Add Checmate
From
Date
Please do not top post

On Thu, 2016-08-04 at 16:08 +0800, zhuyj wrote:
> +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



\
 
 \ /
  Last update: 2016-08-04 11:21    [W:0.033 / U:1.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site