From: BlaisorBlade <blaisorblade_spam@yahoo.it>
To: Jinnah Dylan Hosein <jdh66+spam@jdh.org>,
user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] I ported skas3 to fc2 kernel
Date: Mon, 26 Jul 2004 16:20:23 +0200 [thread overview]
Message-ID: <200407261620.23840.blaisorblade_spam@yahoo.it> (raw)
In-Reply-To: <Pine.LNX.4.44.0407221901400.1382-100000@hfuhruhurr.iostream.com>
Alle 01:13, venerdì 23 luglio 2004, Jinnah Dylan Hosein ha scritto:
> I ported the host-skas3-2.6.7-v1.patch to the Fedora Core 2 kernel.
>
> I used the latest fc2 2.6.6-1.435.2.3 kernel rpm.
>
> I've tested it and I was able to run a 2.4.19 uml kernel with a redhat
> 7.2 rootfs. I wasn't able to make it leak memory by running the "while
> true" bash line, but I don't understand exactly what triggers the leak so
> it's likely I didn't properly test.
Well, it's a bit difficult to trigger; to the best of my understanding, it can
be triggered if UML is a child or grandchild of a multi-threaded process
using the TLS, i.e. Thread-Local Storage (as KDE Konsole) running either with
LinuxThreads support (i.e. either glibc is not NPTL-aware or is running onto
a 2.4 host kernel).
More technically, if any process modifies its LDT (by using the modify_ldt()
syscall), any of its child processes will have the LDT set, and if UML has
the LDT set it will then leak memory.
That said, I don't have time to look at it well but I don't see anything bad,
at a quick look; the port is not a simple rediff so there could be some
little changes needed, but if it runs Ok, I wouldn't worry.
For the SKAS + UML patch: it's easy to rebuild it from the splitout version
(you must browse the folders to find it, should be something like
patches/2.6.7-v1), but you can get by without it, so I'll build it only if I
get free time. I've not even had the time to join the SKAS - leak fix with
the rest of the patch!
--
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id\x10040&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
prev parent reply other threads:[~2004-07-26 14:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-22 23:13 [uml-devel] I ported skas3 to fc2 kernel Jinnah Dylan Hosein
2004-07-22 23:26 ` [uml-devel] " Jinnah Dylan Hosein
2004-07-24 23:52 ` Axel Thimm
2004-07-26 14:20 ` 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=200407261620.23840.blaisorblade_spam@yahoo.it \
--to=blaisorblade_spam@yahoo.it \
--cc=jdh66+spam@jdh.org \
--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