Re: [PATCH 2/6] x86: Limit the number of per cpu MCE bootup messages

From: Mike Travis
Date: Mon Nov 16 2009 - 16:35:36 EST




Ingo Molnar wrote:
* Mike Travis <travis@xxxxxxx> wrote:

@@ -83,6 +86,7 @@
unsigned long flags;
int hdr = 0;
int i;
+ char buf[120];

that constant is not particularly nice, is it?

Ingo

I'm up for suggestions. I just noticed that during testing, the
MCE Banks messages overflowed 80 chars but I didn't actually
check to see what the longest might be.

Should I trim it to 80? Or use a different constant?

Thanks,
Mike
--
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/