alinux: Fix latency histogram & nr_migrations rcu bugs
to #29558346 rcu variable can be NULL inside rcu lock region, if rcu_read_lock is called in grace period. So check if (!variable) before dereference it. Signed-off-by: NYihao Wu <wuyihao@linux.alibaba.com> Acked-by: NShanpei Chen <shanpeic@linux.alibaba.com>
Showing
想要评论请 注册 或 登录