From: BlaisorBlade <blaisorblade_spam@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] [UML combo patch] 2.6.0 host-skas kernel & UML kernel patch
Date: Sat, 20 Dec 2003 16:57:38 +0100 [thread overview]
Message-ID: <200312201657.24376.blaisorblade_spam@yahoo.it> (raw)
In-Reply-To: <20031219211630.GA31977@elte.hu>
Alle 22:16, venerdì 19 dicembre 2003, Ingo Molnar ha scritto:
> * BlaisorBlade <blaisorblade_spam@yahoo.it> wrote:
> > > WARNING: this is an experimental patch, UML kernels compiled with this
> > > patch wont work in skas mode on older host-skas patched kernels.
You mean that they won't work on 2.4 SKAS kernels or on 2.6 skas kernels
without your change(i.e. there have been some other ports of Skas to 2.5/2.6,
which didn't touch the actual code logic)? If I've understood you correctly,
you must just re-add the MM_COPY_SEGMENTS call in the UML arch, while still
making its implementation in the i386 arch as a no-op, to make us happy.
Right? Could you do this?
> > Does this warning refers to any of the other patches you posted? To
> > which one especially? Is this related to the removal of
> > MM_COPY_SEGMENTS ?
>
> yes, it refers mostly to the removal of MM_COPY_SEGMENTS.
> > Also, if there is any incompatibility, it should be named skas4. But
> > since Jeff Dike's will release skas4, even improving skas3 by breaking
> > compatibility is not useful. And if it is accepted, it should at least
> > be released also for 2.4(the guest 2.4/2.6 choice must be unrelated to
> > the host choice).
>
> skas4 will be nice, and since it will most likely be 2.6 based (?), it
> doesnt have the copy_segments problem.
The patch is very useful, but I think that at least the MM_COPY_SEGMENTS
change should be split out, since it is not backward compatible. Anything
required to fix a bug can be put inside, but preserving it. So preserve
binary compatibility with old host-skas kernels and old guest kernels.
Jeff has already refused patches for skas3(a cleanup actually, the one of
renaming do_mmap_pgoff as __do_mmap_pgoff as I said you), which hadn't got
any problem, just because he wants to release skas4.
Such a speedup could be useful maybe for skas4, but only maybe(i.e. since
skas4 will have to be for 2.4 also, I think that MM_COPY_SEGMENTS can be made
a no-op, but the guest must call it).
In fact, I think he planned skas 4 for 2.4; he said also it is almost ready,
just has some problems with the two new syscall numbers. And UML development
is still mainly on 2.4; fixes are applied currently on 2.4 tree, and at some
moment will appear on the 2.6 one.
However, the one to refer to for such issues is actually Jeff Dike; this is
only my VERY HUMBLE opinion; I'm answering just because I've been lurking on
the ML's from enough time to understand the Jeff's plans.
> Jeff, do you know how the new skas4 syscall API will look like, exactly?
>
> Ingo
He mentioned that /proc/mm will be removed, and there will be two new
syscalls: one will be to create a new address space, and the second will be
to use a certain context(i.e. a certain mm_struct) for any syscall from the
guest to the host(I am not able to find his message, so this is what I
remember). This design was agreed on by Jeff and Linus.
Btw: some changes in your patch are just build-generated files(headers, and
symlinks in the arch/um/sys-i386 dir). Pay attention to making clean(or
mrproper) next time before creating the patch. If you get some error from
"sh" about SIZE and shell arithmetic, it's already fixed(in a thread from a
few days ago).
Bye
--
cat <<EOSIGN
Paolo Giarrusso, aka Blaisorblade
Linux Kernel 2.4.21/2.6.0-test on an i686; Linux registered user n. 292729
EOSIGN
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&opÌk
_______________________________________________
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:[~2003-12-21 15:24 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.4.58.0312171735540.8123@earth>
[not found] ` <20031217174901.GA6709@ccure.user-mode-linux.org>
[not found] ` <Pine.LNX.4.58.0312171924290.12482@earth>
2003-12-17 21:40 ` [uml-devel] [UML patch] fix 2.6.0-test11 compilation problem Ingo Molnar
2003-12-22 9:50 ` BlaisorBlade
2003-12-17 21:54 ` [uml-devel] [bug] uml segfaults if forcing static link, 2.6.0-test11 Ingo Molnar
2003-12-18 1:46 ` Jeff Dike
2003-12-18 8:35 ` M A Young
2003-12-18 9:42 ` Ingo Molnar
2003-12-18 10:27 ` [uml-devel] [patch] fix PTRACE_LDT, skas-fix-2.4.23-A0 Ingo Molnar
2003-12-18 11:17 ` [uml-devel] [patch] host-skas support for 2.6.0, other UML fixes Ingo Molnar
2003-12-18 11:56 ` [uml-devel] " Ingo Molnar
2003-12-18 14:24 ` [uml-devel] [UML patch] fixes for !CONFIG_PROC_MM, 2.6.0 Ingo Molnar
2003-12-18 16:27 ` roland
2003-12-18 18:53 ` Sven 'Darkman' Michels
2003-12-18 19:41 ` roland
2003-12-19 4:35 ` Jeff Chua
2003-12-19 8:22 ` Ingo Molnar
2003-12-24 11:25 ` BlaisorBlade
2003-12-19 9:20 ` M A Young
2003-12-19 9:46 ` Ingo Molnar
2003-12-19 11:37 ` M A Young
2003-12-19 19:09 ` [uml-devel] new_mm : /proc/mm copy_segments failed, err = 0 Jason Lunz
2003-12-19 19:38 ` BlaisorBlade
2003-12-20 16:10 ` [uml-devel] Re: [patch] host-skas support for 2.6.0, other UML fixes BlaisorBlade
2003-12-18 12:15 ` [uml-devel] [UML combo patch] 2.6.0 host-skas kernel & UML kernel patch Ingo Molnar
2003-12-19 18:59 ` BlaisorBlade
2003-12-19 21:16 ` Ingo Molnar
2003-12-20 15:57 ` BlaisorBlade [this message]
2003-12-20 17:08 ` Jeff Dike
2004-01-01 19:16 ` [uml-devel] [UML combo patch] uml-combo-2.6.0-A7 Ingo Molnar
2004-01-02 18:29 ` BlaisorBlade
2004-01-05 10:11 ` Ingo Molnar
2004-01-05 19:13 ` BlaisorBlade
2003-12-19 18:59 ` [uml-devel] [patch] host-skas support for 2.6.0, other UML fixes BlaisorBlade
2003-12-19 19:26 ` [uml-devel] [patch] fix PTRACE_LDT, skas-fix-2.4.23-A0 BlaisorBlade
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=200312201657.24376.blaisorblade_spam@yahoo.it \
--to=blaisorblade_spam@yahoo.it \
--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