lkml.org 
[lkml]   [2008]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] printk: robustify printk
From
From: Peter Zijlstra <a.p.zijlstra@chello.nl>
Date: Fri, 08 Aug 2008 20:14:28 +0200

> +struct klogd_wakeup_state {
> + struct rcu_head head;
> + int pending;
> +};
> +
> +DEFINE_PER_CPU(struct klogd_wakeup_state, kws);

Since there is not RCU_HEAD_INIT() made on these per-cpu objects, this code
is depending upon the fact that currently the RCU head is just initialized
to all zeros.


\
 
 \ /
  Last update: 2008-08-09 01:05    [W:0.131 / U:0.656 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site