[ak at muc.de: Re: [PATCH] kernel/printk.c lockless access]

Linas Vepstas linas at austin.ibm.com
Fri Jan 7 14:45:33 PST 2005


Hi Keith,

I introduced a thread on LKML for adding logbuff access for debugger
use.  I made the patch look as much as possible as the KDB code,
with the direct intention of making things easier for KDB,
although my true intention is to have this be generically useful.  

--linas

----- Forwarded message from Andi Kleen <ak at muc.de> -----

To: Linas Vepstas <linas at austin.ibm.com>
Cc: linux-kernel at vger.kernel.org, torvalds at osdl.org, akpm at osdl.org
Subject: Re: [PATCH] kernel/printk.c  lockless access
From: Andi Kleen <ak at muc.de>

Linas Vepstas <linas at austin.ibm.com> writes:

> The 'fix' is to provide a routine that simply returns the pointers
> to the log buffer.  

Better&simpler fix would be to just unstatic __log_buf
You cannot call such functions generally when looking at memory
dumps of some form.

-Andi


----- End forwarded message -----
---------------------------
Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.


More information about the kdb mailing list