linux-um archives
 help / color / mirror / Atom feed
From: Rob Landley <rob@landley.net>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: Can Sar <csar@stanford.edu>
Subject: Re: [uml-devel] Making UML Single Threader
Date: Tue, 8 Nov 2005 01:09:06 -0600	[thread overview]
Message-ID: <200511080109.06999.rob@landley.net> (raw)
In-Reply-To: <91A93A3A-FE83-4002-A004-E8FD4AFBAA3C@stanford.edu>

On Monday 07 November 2005 23:13, Can Sar wrote:
> Hi,
>
> I am trying to make a 1 thread version of UML that does not need to
> be able to support user level programs.

Why?

Did you ever read Rik van Reil's list of the dumbest patches he's ever seen?  
This is the first entry in the list:

http://www.surriel.com/potm/apr2001.shtml

> So I don't care about systemcall interception or anything like that,

*blink*  *blink*

Ok, you want user mode linux, but you don't want it to actually run user 
processes, nor do want it to be able to intercept system calls.

Um...  What's left?

> I just want a copy of 
> UML that gets a basic kernel environment running (where I could call
> some kernel functions like sys_read or sys_open and then exit) that
> never calls fork on the host.

vfork, maybe?

Have you tried just loading a module into the existing User Mode Linux?

> Sorry if this all sounds a bit weird, it's for a research project and
> we are trying to port UML to an environment that only supports single
> threaded operation.

Define "port".  (Have you looked at mmu-less linux?  Are you saying you 
haven't got a timer interrupt and can't fake up some kind of green-threads 
approach like people managed to do under _DOS_?)

Rob


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  reply	other threads:[~2005-11-08  7:09 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-06 23:23 [uml-devel] Does UML 2.6.14 work under x86-64? Rob Landley
2005-11-07 16:25 ` Jeff Dike
2005-11-07 19:32 ` Blaisorblade
2005-11-07 14:38   ` David Lang
2005-11-07 19:44   ` Blaisorblade
2005-11-08  0:53   ` Rob Landley
2005-11-07 14:47     ` David Lang
2005-11-07 15:30       ` David Lang
2005-11-08  3:39       ` Rob Landley
2005-11-08  5:13 ` [uml-devel] Making UML Single Threader Can Sar
2005-11-08  7:09   ` Rob Landley [this message]
2005-11-08  7:44     ` Can Sar
2005-11-09  0:35       ` Rob Landley
2005-11-09  0:48         ` Blaisorblade
2005-11-09  1:17           ` Rob Landley
2005-11-09  1:31             ` Blaisorblade
2005-11-09  3:18               ` Rob Landley
2005-11-10  4:18                 ` Jeff Dike
2005-11-10  4:58                   ` Rob Landley
2005-11-10  6:23                     ` Henrik Nordstrom
2005-11-10  4:07         ` Jeff Dike
2005-11-10  3:55           ` Rob Landley
2005-11-08 15:46     ` Jeff Dike
2005-11-09  0:27       ` Rob Landley
2005-11-14 13:59       ` Nix
2005-11-14 19:37         ` Blaisorblade
2005-11-14 20:00           ` Nix
2005-11-14 20:05             ` Geert Uytterhoeven
2005-11-15 11:39           ` Henrik Nordstrom
2005-11-16  1:23             ` Rob Landley
2005-11-08 16:13     ` Blaisorblade
2005-11-09  0:51       ` Rob Landley
2005-11-08 15:43   ` Jeff Dike
2005-11-08 16:10     ` Blaisorblade
2005-11-08 19:11     ` Can Sar

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=200511080109.06999.rob@landley.net \
    --to=rob@landley.net \
    --cc=csar@stanford.edu \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox