Re: [RFC PATCH] Add CRC checksum for RCU lists

From: Jan Engelhardt
Date: Fri Sep 21 2007 - 09:16:42 EST



On Sep 21 2007 14:02, Peter Zijlstra wrote:
>> + 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);

This has been wondering me some time. Kernel oopses also use [<%p>],
but what really for are two sort of braces needed?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/