From: Livio Baldini Soares <livio@ime.usp.br>
To: Prasad <prasad_s@students.iiit.net>
Cc: Andrea Arcangeli <andrea@suse.de>,
Jeff Garzik <jgarzik@pobox.com>,
lkml <linux-kernel@vger.kernel.org>
Subject: Re: Remote execution of syscalls (was Re: Syscall from Kernel Space)
Date: Fri, 21 Feb 2003 14:44:15 -0300 [thread overview]
Message-ID: <20030221174414.GA28062@ime.usp.br> (raw)
In-Reply-To: <Pine.LNX.4.44.0302210959320.22616-100000@students.iiit.net>
Hello Prasad!
[Caveat: I am I kernelnewbie, anything I say can and probably is
wrong, anyway]
Prasad writes:
>
> I am sorry for not being clear... but i think its time to tell you where i
> needed it. I, as a graduating project am working on a distributed
> computing system, a part of which is "transparent process migration in
> non-distributed environments". In my system i would like to ship the
> syscalls back to the original node(where the process originated). so for
> that i have a kernel thread that takes the requests and is supposed to
> execute the syscalls on behalf of the process (I have the idle task
> structure existing on the originating node even after the process is
> migrated to the other node). And the question is how do i do that.
Hummm.. why not use the more "obvious" solution which is using a
user-level thread instead of a kernel thread? Then you could make
whatever syscall you want as a process. Seems cleaner to me, and I
can't see any obvious disadvantages (of course, I don't know exactly
what you're trying to do over there).
You could have the kernel spawn a regular user process to receive
system calls from the external node everytime you migrate a
process. Or maybe even better, one simple daemon which is responsible
for receiving syscalls for all external processes.
Or I'm way off park?
best regards!
--
Livio <livio@ime.usp.br>
next prev parent reply other threads:[~2003-02-21 17:34 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-20 17:34 Syscall from Kernel Space Prasad
2003-02-20 17:40 ` Jeff Garzik
2003-02-20 17:49 ` Prasad
2003-02-20 22:10 ` Andrea Arcangeli
2003-02-20 22:17 ` Jeff Garzik
2003-02-20 22:45 ` Andrea Arcangeli
2003-02-21 4:39 ` Remote execution of syscalls (was Re: Syscall from Kernel Space) Prasad
2003-02-21 17:44 ` Livio Baldini Soares [this message]
2003-02-21 18:01 ` Prasad
2003-02-23 22:52 ` Pavel Machek
2003-02-25 1:34 ` H. Peter Anvin
2003-02-25 3:57 ` Prasad
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=20030221174414.GA28062@ime.usp.br \
--to=livio@ime.usp.br \
--cc=andrea@suse.de \
--cc=jgarzik@pobox.com \
--cc=linux-kernel@vger.kernel.org \
--cc=prasad_s@students.iiit.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