mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andreas Dilger <adilger@clusterfs.com>
To: Jeff Dike <jdike@karaya.com>
Cc: Andi Kleen <ak@suse.de>, linux-kernel@vger.kernel.org
Subject: Re: uml-patch-2.5.49-1
Date: Tue, 26 Nov 2002 12:37:32 -0700	[thread overview]
Message-ID: <20021126123732.H9054@schatzie.adilger.int> (raw)
In-Reply-To: <200211261829.NAA02265@ccure.karaya.com>; from jdike@karaya.com on Tue, Nov 26, 2002 at 01:29:21PM -0500

On Nov 26, 2002  13:29 -0500, Jeff Dike wrote:
> 	design cleanliness - a UP UML is inherently single-threaded, so it's
> pointless to have many host processes when only one of them can be running.
> A host process maps much more cleanly onto a UML processor than a UML process,
> and a UML process maps much more cleanly onto a host address space than a
> host process.

How does GDB now distinguish between UML processes?  Previously, with
GDB and UML one would "det; att <host pid>" to trace another process.
Will there be equivalent functionality in the new setup?

I was just thinking about hacking the UML PID allocation code so that
the UML process PID == host process PID, so that it is easier to debug
multiple kernel threads (which are all called "kernel thread" and are
hard to align with a specific UML kernel thread).

Will SMP UML "just" be a matter of forking the host process and sharing
the /proc/mm file descriptors, along with a UML SMP scheduler and some
IPC to decide which host process is running each UML process?

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/


  reply	other threads:[~2002-11-26 19:34 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200211260517.AAA05038@ccure.karaya.com.suse.lists.linux.kernel>
2002-11-26  5:57 ` uml-patch-2.5.49-1 Andi Kleen
2002-11-26  6:07   ` uml-patch-2.5.49-1 Patrick Finnegan
2002-11-26  6:10     ` uml-patch-2.5.49-1 Andi Kleen
2002-11-26  7:02       ` uml-patch-2.5.49-1 Patrick Finnegan
2002-11-26 16:45         ` uml-patch-2.5.49-1 Rik van Riel
2002-11-26 18:29   ` uml-patch-2.5.49-1 Jeff Dike
2002-11-26 19:37     ` Andreas Dilger [this message]
2002-11-26 21:07       ` uml-patch-2.5.49-1 Jeff Dike
     [not found] <20021126061021.GA17959@wotan.suse.de.suse.lists.linux.kernel>
     [not found] ` <Pine.LNX.4.44.0211260159440.7540-100000@ibm-ps850.purdueriots.com.suse.lists.linux.kernel>
2002-11-26  7:08   ` uml-patch-2.5.49-1 Andi Kleen
2002-11-26  5:17 uml-patch-2.5.49-1 Jeff Dike
2002-11-26 14:14 ` uml-patch-2.5.49-1 jlnance
2002-11-26 18:33   ` uml-patch-2.5.49-1 Jeff Dike
2002-11-27  2:29     ` uml-patch-2.5.49-1 H. Peter Anvin
2002-11-27  4:06       ` uml-patch-2.5.49-1 Jeff Dike
2002-11-27  4:30         ` uml-patch-2.5.49-1 H. Peter Anvin
2002-11-27  5:08           ` uml-patch-2.5.49-1 Jeff Dike

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=20021126123732.H9054@schatzie.adilger.int \
    --to=adilger@clusterfs.com \
    --cc=ak@suse.de \
    --cc=jdike@karaya.com \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®