From: Blaisorblade <blaisorblade@yahoo.it>
To: Bodo Stroesser <bstroesser@fujitsu-siemens.com>
Cc: Jeff Dike <jdike@addtoit.com>,
user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] Re: NACK on shift-MM_COPY_SEGMENTS for API change
Date: Sat, 7 May 2005 17:28:35 +0200 [thread overview]
Message-ID: <200505071728.35739.blaisorblade@yahoo.it> (raw)
In-Reply-To: <427B4F4B.5040909@fujitsu-siemens.com>
On Friday 06 May 2005 13:04, Bodo Stroesser wrote:
> Blaisorblade wrote:
> > I understand the purpose of the patch; however, without any mention about
> > the effects (which would be IMHO bad) we no more copy LDT segments on
> > fork/clone, which is bad.
>
> No. The patch shifts code only, but AFAICS it doesn't alter the bahavior of
> UML/i386. If it does, that would be a bug in the patch!
>
> > The patch moves that to the call of modify_ldt, but that's an hack, since
> > currently it's perfectly legitimate that a child uses the father's LDT,
> > though maybe uncommon.
>
> No. Let's read the code before and after the change:
>
> Before the change, father's LDT is copied in new_mm() using
> MM_COPY_SEGMENTS. new_mm() only has one caller, which is
> init_new_context_skas().
> After the change, father's LDT is copied in init_new_ldt(), again
> using MM_COPY_SEGMENTS.
Ok, it turns out that I was simply misreading the patch (I didn't apply the
patch, since I don't have the time to work on Jeff's tree too, beyond the
release tree).
--
Paolo Giarrusso, aka Blaisorblade
Skype user "PaoloGiarrusso"
Linux registered user n. 292729
http://www.user-mode-linux.org/~blaisorblade
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
prev parent reply other threads:[~2005-05-07 15:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-05 10:14 [uml-devel] NACK on shift-MM_COPY_SEGMENTS for API change Blaisorblade
2005-05-06 11:04 ` [uml-devel] " Bodo Stroesser
2005-05-07 15:28 ` Blaisorblade [this message]
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=200505071728.35739.blaisorblade@yahoo.it \
--to=blaisorblade@yahoo.it \
--cc=bstroesser@fujitsu-siemens.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox