[PATCH v4 1/2] selftests: run tests on nommu architecture
Lorenzo Stoakes (ARM)
ljs at kernel.org
Fri Oct 2 04:53:31 PDT 2026
On Fri, Oct 02, 2026 at 01:38:31PM +0200, Geert Uytterhoeven wrote:
> On Fri, 2 Oct 2026 at 10:10, Lorenzo Stoakes (ARM) <ljs at kernel.org> wrote:
> > But fork() -> -EINVAL or -ENOSYS = nommu, then just have the child quit and
> > etc. should do it.
>
> fork() is not strictly an MMU-feature (you can implement fork on nommu
> if all memory accesses are done relative to a base address register),
> while I think mprotect() is an MMU-feature. Unless it can also be used
> to change the protection using the one or two BARs most MCU haves?
> Anything else that is a real MMU-feature? Non-identity mmap()?
Does any nommu arch implement fork() in linux?
--
Cheers, Lorenzo
More information about the linux-um
mailing list