Re: garbled oopsen

Martin J. Bligh (mbligh@aracnet.com)
Wed, 07 May 2003 17:06:14 -0700


>> Can these be cleaned up in any reasonable way?
>
> It needs some additional spinlock in there. People have moaned for over a
> year, patches have been floating about but nobody has taken the time to
> finish one off and submit it.

I tried it a while back, the obvious lock approach didn't seem to work, but
I can't seem to find the patch right now. IIRC, printk should be atomic,
so converting it to printk into a line buffer, and then printk'ing the buffer
(prefaced by cpu number) *should* work. Maybe. I think.

M.

-
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/