Re: The well-factored 386

From: Jamie Lokier (jamie@shareable.org)
Date: Wed Jul 30 2003 - 09:05:22 EST


Helge Hafting wrote:
> So you can probably use paging in "forreal" mode too. I believe
> you only get the page table's memory mapping capabilities
> though, I don't think you get protection of "kernel" pages
> without protection enabled.
>
> You could still "hide" kernel memory by giving userspace another
> page table, but that means page table switching on each
> syscall which kills performance worse than interrupt handling
> in protecxted mode.

Yes, that's exactly what I had in mind.

You say that page table switching kills performance, but consider
Ingo's latest 64G patches do exactly that, and performance, though
degraded, is not too bad.

Whether it's worth doing that would depend on the balance of
interrupts vs. syscalls. Some embedded applications are dominated by
interrupts, and there are apps which avoid syscalls altogether during
the main part of their running.

-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:45 EST