kdb
[Top] [All Lists]

[ak@xxxxxx: Re: [PATCH] kernel/printk.c lockless access]

To: kdb@xxxxxxxxxxx
Subject: [ak@xxxxxx: Re: [PATCH] kernel/printk.c lockless access]
From: Linas Vepstas <linas@xxxxxxxxxxxxxx>
Date: Fri, 7 Jan 2005 16:45:33 -0600
Sender: kdb-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6+20040818i
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@xxxxxx> -----

To: Linas Vepstas <linas@xxxxxxxxxxxxxx>
Cc: linux-kernel@xxxxxxxxxxxxxxx, torvalds@xxxxxxxx, akpm@xxxxxxxx
Subject: Re: [PATCH] kernel/printk.c  lockless access
From: Andi Kleen <ak@xxxxxx>

Linas Vepstas <linas@xxxxxxxxxxxxxx> 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.
<Prev in Thread] Current Thread [Next in Thread>
  • [ak@xxxxxx: Re: [PATCH] kernel/printk.c lockless access], Linas Vepstas <=