Re: Which architectures need to sync vmalloc mappings between processes?
From: Andi Kleen
Date: Sun Feb 18 2007 - 12:08:50 EST
> On i386 with PAE, this is not necessary because the kernel's mappings
> are shared between all processes anyway, so it would be a no-op.
> However, non-PAE i386 has a separate kernel mapping for each process,
> and so needs to sync them - typically lazily on faults, but
> vmalloc_sync_all exists to allow mass syncing when required.
The only case that needs it right now on x86 is NMI handlers in modules
to avoid early IRETs that could cause NMI recursion.
That's a very obscure architecture specific quirk and I wouldn't expect any
other architecture to suffer from this.
-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/