Re: [x86_64 MCE] [RFC] mce.c race condition (or: when evil hacks are the only options)
From: Tim Hockin
Date: Thu Jul 12 2007 - 17:29:01 EST
On 7/12/07, Andi Kleen <ak@xxxxxxx> wrote:
> -- there may be other edge cases other than
> this one. I'm actually surprised that this wasn't a ring buffer to start
> with -- it certainly seems like it wanted to be one.
The problem with a ring buffer is that it would lose old entries; but
for machine checks you really want the first entries because
the later ones might be just junk.
Couldn't the ring just have logic to detect an overrun and stop
logging until that is alleviated? Similar to what is done now. Maybe
I am underestimating it..
-
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/