login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
21
Re: [RFC PATCH] Add CRC checksum for RCU lists
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Peter Zijlstra <a.p.zijlstra@...>
To: Steven Rostedt <rostedt@...>
Cc: Paul E. McKenney <paulmck@...>, LKML <linux-kernel@...>, Ingo Molnar <mingo@...>, Thomas Gleixner <tglx@...>, Andrew Morton <akpm@...>
Subject:
Re: [RFC PATCH] Add CRC checksum for RCU lists
Date: Friday, September 21, 2007 - 8:02 am
On Thu, 20 Sep 2007 14:34:11 -0400 Steven Rostedt <rostedt@goodmis.org> wrote:
quoted text
> +static inline void rcu_crc_check(struct rcu_head *head) > +{ > + static int once; > + if (unlikely(head->crc != rcu_crc_calc(head)) && !once) { > + once++; > + printk("BUG: RCU check failed!"); > + if (head->caller) > + printk(" (caller=%p)", > + head->caller);
char sym[KSYM_SYMBOL_LEN]; sprint_symbol(sym, head->caller); printk(" (caller: [<%p>] %s)", head->caller, sym);
quoted text
> + printk("\n"); > + printk(" CRC was %08lx, expected %08lx\n", > + head->crc, rcu_crc_calc(head)); > + printk(" %p %p\n", > + head->next, head->func); > + dump_stack(); > + } > +}
-
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[RFC PATCH] Add CRC checksum for RCU lists
, Steven Rostedt
, (Thu Sep 20, 2:34 pm)
Re: [RFC PATCH] Add CRC checksum for RCU lists
, Paul E. McKenney
, (Fri Sep 21, 1:12 pm)
Re: [RFC PATCH] Add CRC checksum for RCU lists
, Steven Rostedt
, (Fri Sep 21, 5:32 pm)
Re: [RFC PATCH] Add CRC checksum for RCU lists
, Paul E. McKenney
, (Sat Sep 22, 1:59 pm)
Re: [RFC PATCH] Add CRC checksum for RCU lists
, Kyle Moffett
, (Sat Sep 22, 3:04 am)
Re: [RFC PATCH] Add CRC checksum for RCU lists
, Paul E. McKenney
, (Sat Sep 22, 1:20 pm)
Re: [RFC PATCH] Add CRC checksum for RCU lists
, Peter Zijlstra
, (Fri Sep 21, 8:02 am)
Re: [RFC PATCH] Add CRC checksum for RCU lists
, Jan Engelhardt
, (Fri Sep 21, 9:16 am)
Re: [RFC PATCH] Add CRC checksum for RCU lists
, Steven Rostedt
, (Fri Sep 21, 9:27 am)
Re: [RFC PATCH] Add CRC checksum for RCU lists
, Steven Rostedt
, (Fri Sep 21, 9:01 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Linus Torvalds
Linux 2.6.21
Greg Kroah-Hartman
[PATCH 002/196] Chinese: rephrase English introduction in HOWTO
Josef 'Jeff' Sipek
[PATCH 02/24] lookup_one_len_nd - lookup_one_len with nameidata argument
david
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
git
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
Re: [GIT]: Networking
David Miller
[PATCH]: Preliminary release of Sun Neptune driver
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
0 users
and
551 guests
online.
Syndicate