From: Hajime Tazaki <thehajime@gmail.com>
To: johannes@sipsolutions.net
Cc: linux-um@lists.infradead.org, liam@infradead.org, ljs@kernel.org,
ricarkol@google.com
Subject: Re: [PATCH v2 10/10] Documentation: um: document nommu UML
Date: Fri, 24 Jul 2026 15:53:55 +0900 [thread overview]
Message-ID: <m1cxwc98u4.wl-thehajime@gmail.com> (raw)
In-Reply-To: <d3df4236387840a77c74de7cb006771897a0ac68.camel@sipsolutions.net>
On Fri, 24 Jul 2026 15:49:08 +0900,
Johannes Berg wrote:
>
> On Fri, 2026-07-24 at 15:20 +0900, Hajime Tazaki wrote:
> > > UML models this with
> > > +a **userspace runner** - an ordinary uml-userspace stub host process, started
> > > +exactly like an MMU userspace process, but with the whole of "physical" memory
> > > +(the physmem file) mapped into it at the kernel's addresses:
> > > +
> > > +- The runner ``exec()``'s the stub just like the MMU case. The only extra step
> > > + is that, once it is up, the kernel maps the entire physmem file into it in one
> > > + go, at the same addresses the kernel uses.
> > > +- Because NOMMU never remaps, that single mapping is all a runner ever needs:
> >
> > I was actually not sure what you mean here: "NOMMU never remaps".
> > could you care to elaborate ?
> > the subsequent parts are clear to me.
>
> Yeah maybe, that's a bit cryptic. I mean, we have an MMU-less base
> kernel, so there's never any request to remap for anything, so
>
> > > + there is no per-mm host process, no TLB sync and no ``mmap()`` of individual
> > > + page-table entries into a child. Userspace code and data - placed in memory
> > > + by the loader - are directly executable and accessible.
>
> the original mapping that we make into that process is left alone
> forever. The map machinery in the stub is used only exactly once.
make sense to me, thanks.
> > For the alpine packages, I'll contact the distribution once this UML
> > is upstreamed. And update this part with more proper information
> > rather than my personal repository.
>
> Sure. It seemed far simpler to point to it than to try to have
> instructions on how to build it (I didn't even try), and I'm assuming
> you don't plan to remove it :)
I will keep this image location but using version number will easily
outdate while it's useful to present a snapshot for users.
-- Hajime
next prev parent reply other threads:[~2026-07-24 6:54 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-23 9:35 [PATCH v2 00/10] simplified UML/NOMMU approach Johannes Berg
2026-07-23 9:35 ` [PATCH v2 01/10] x86/um: nommu: elf loader for fdpic Johannes Berg
2026-07-23 9:35 ` [PATCH v2 02/10] um: decouple MMU specific code from the common part Johannes Berg
2026-07-23 9:35 ` [PATCH v2 03/10] um: nommu: memory handling Johannes Berg
2026-07-23 9:35 ` [PATCH v2 04/10] um: change machine name for uname output Johannes Berg
2026-07-24 6:50 ` Hajime Tazaki
2026-07-24 6:54 ` Johannes Berg
2026-07-24 7:16 ` Hajime Tazaki
2026-07-24 7:18 ` Hajime Tazaki
2026-07-24 7:18 ` Johannes Berg
2026-07-23 9:35 ` [PATCH v2 05/10] x86/um/vdso: nommu: vdso memory update Johannes Berg
2026-07-23 9:35 ` [PATCH v2 06/10] um: further decouple MMU related code Johannes Berg
2026-07-23 9:35 ` [PATCH v2 07/10] um: nommu: add SMP futex operations Johannes Berg
2026-07-23 9:35 ` [PATCH v2 08/10] um: nommu: add userspace runner processes Johannes Berg
2026-07-23 13:59 ` Johannes Berg
2026-07-23 9:35 ` [PATCH v2 09/10] um: allow deselecting CONFIG_MMU Johannes Berg
2026-07-23 9:35 ` [PATCH v2 10/10] Documentation: um: document nommu UML Johannes Berg
2026-07-24 6:20 ` Hajime Tazaki
2026-07-24 6:49 ` Johannes Berg
2026-07-24 6:53 ` Hajime Tazaki [this message]
2026-07-23 11:50 ` [PATCH v2 00/10] simplified UML/NOMMU approach Lorenzo Stoakes (ARM)
2026-07-23 12:22 ` Johannes Berg
2026-07-23 15:11 ` Lorenzo Stoakes (ARM)
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=m1cxwc98u4.wl-thehajime@gmail.com \
--to=thehajime@gmail.com \
--cc=johannes@sipsolutions.net \
--cc=liam@infradead.org \
--cc=linux-um@lists.infradead.org \
--cc=ljs@kernel.org \
--cc=ricarkol@google.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.