From: azu <azu@sysgo.de>
To: Steve Schmidtke <steve_schmidtke@hotmail.com>
Cc: User-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] filemap feature 2.4.22-5um
Date: Wed, 15 Oct 2003 10:43:33 +0200 [thread overview]
Message-ID: <3F8D08B5.3010001@sysgo.de> (raw)
In-Reply-To: <BAY7-F10EP60A1ozvkh00011910@hotmail.com>
> ISSUE: The UML will panic if it runs out of /proc/mm fds.
returning -ENOMEM for example triggers the oom-killer in my tests.
and thats not what we want.
> ISSUE: What side effects does re-using an address space have?
it's slow, but should work:
you need to cleanup (unmap all pages or reopen the fd) an dirty address
space before switching it if the mm differs.
the pager will map you all pages you need on demand.
i tested this by removing the premapping (removed the mmap() and
mprotect() calls in fix_range()), but it's much slower.
access to userspace is always safe in skas-mode.
alex
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
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-10-15 8:41 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-14 22:58 [uml-devel] filemap feature 2.4.22-5um Steve Schmidtke
2003-10-15 8:43 ` azu [this message]
2003-10-15 20:13 ` Jeff Dike
-- strict thread matches above, loose matches on Subject: below --
2003-10-18 17:15 Steve Schmidtke
2003-10-18 16:34 BlaisorBlade
2003-10-18 1:31 Steve Schmidtke
2003-10-18 12:37 ` Henrik Nordstrom
2003-10-18 21:57 ` Goetz Bock
2003-10-18 22:29 ` Henrik Nordstrom
2003-10-18 14:27 ` Adam Heath
2003-10-14 14:08 Steve Schmidtke
2003-10-14 3:54 Steve Schmidtke
2003-10-13 5:15 ` Jeff Dike
2003-10-14 6:19 ` Doug Dumitru
2003-10-17 17:14 ` Adam Heath
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=3F8D08B5.3010001@sysgo.de \
--to=azu@sysgo.de \
--cc=User-mode-linux-devel@lists.sourceforge.net \
--cc=steve_schmidtke@hotmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.