Re: [PATCH] Reduce __print_symbol/sprint_symbol stack usage.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Satyam Sharma <satyam@...>
Cc: Linux Kernel Mailing List <linux-kernel@...>
Date: Friday, September 21, 2007 - 8:31 am

Hello Satyam,

On Wed, 2007-09-19 at 06:30 +0530, Satyam Sharma wrote: 

ACK.
Will be fixed ASAP.


I did my best to keep the old interface (sprint_symbol), char arrays and
all, fixing only the critical dump_stack path. (Hence, print_symbol no
longer calls sprint_symbol - it calls the __sprint_symbol helper
function instead.


As I'm keeping the old interface (with it's static char arrays) for
non-dump_stack paths, there's no need to use locks around sprint_symbol.


ACK. 


ACK.


Yep. Still needs work.
... I'll get there. Dead or alive. ;)


The -best- solution is to use locking in normal circumstances (E.g.
debug code, sleep while atomic ,etc) -but- drop all locks when BUG/Oops
is being hit.

I believe the next patch will take care of this problem.


Any suggestions?

- Gilboa

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] Reduce __print_symbol/sprint_symbol stack usage., Gilboa Davara, (Fri Sep 21, 8:31 am)
Re: [PATCH] Reduce __print_symbol/sprint_symbol stack usage., Steven Rostedt, (Fri Sep 21, 10:56 am)