From: Allan Graves <allan.graves@oracle.com>
To: Blaisorblade <blaisorblade@yahoo.it>
Cc: user-mode-linux-devel@lists.sourceforge.net,
Jeff Dike <jdike@addtoit.com>
Subject: [uml-devel] sched and stack patch changelogs.
Date: Tue, 06 Sep 2005 12:10:06 -0400 [thread overview]
Message-ID: <431DBF5E.7010707@oracle.com> (raw)
In-Reply-To: <200509041351.32837.blaisorblade@yahoo.it>
BB: Sorry I hadn't included a changelog, Jeff and I had talked about this a lot, I forgot that other people would be reading them. :)
Author: Allan Graves<allan.graves@gmail.com>
Scheduler Cleanup Patch:
This patch moves code that is in both switch_to_tt and switch_to_skas to the top level _switch_to function, keeping us from duplicating code. It is required for the stack trace patch to work properly.
Stack Trace Patch:
This patch implements a stack trace for a thread, not unlike sysrq-t does. The advantage to this is that a break point can be placed on showreqs, so that upon showing the stack, you jump immediately into the debugger.
While sysrq-t does the same thing, sysrq-t shows *all* threads stacks. It also doesn't work right now. In the future, I thought it might be acceptable to make this show all pids stacks, but perhaps leaving well
enough alone and just using sysrq-t would be okay. For now, upon receiving the stack command, UML switches context to that thread, dumps its registers, and then switches context back to the original thread. Since
UML compacts all threads into one of 4 host threads, this sort of mechanism could be expanded in the future to include other debugging helpers that sysrq does not cover.
Blaisorblade wrote:
>On Friday 02 September 2005 18:59, Jeff Dike wrote:
>
>
>>On Wed, Aug 31, 2005 at 07:06:33PM -0400, Allan Graves wrote:
>>
>>
>>>Jeff,
>>>Here's the patches. Hope these meet your approval!
>>>
>>>
>Could you please write a proper changelog? Reading a patch is possible, but
>needs time which I don't have in the very moment.
>
>Also, what is the difference between your "stack trace" patch, which adds a
>member to thread_struct, for each process, so I'd like a minimum of
>justification, and one of the sysrq options which does exactly this?
>
>Apart that the second is currently buggy, and is global, as in what you plan
>here:
>
>/* Would be nice:
>+ 1) Send showregs output to mconsole.
>+ 2) Add a way to stack dump all pids.
>+ */
>
>Sorry if these questions seem bad - but that's why changelogs are used.
>
>
>>>Allan
>>>
>>>
>
>
>
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next prev parent reply other threads:[~2005-09-06 16:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-31 23:06 [uml-devel] stack and scheduler patches Allan Graves
2005-09-02 16:59 ` Jeff Dike
2005-09-04 11:51 ` Blaisorblade
2005-09-06 15:37 ` Jeff Dike
2005-09-06 16:10 ` Allan Graves [this message]
2005-09-06 15:46 ` Allan Graves
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=431DBF5E.7010707@oracle.com \
--to=allan.graves@oracle.com \
--cc=blaisorblade@yahoo.it \
--cc=jdike@addtoit.com \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.