Messages in this thread | | | Date | Wed, 30 Jul 2003 15:05:22 +0100 | From | Jamie Lokier <> | Subject | Re: The well-factored 386 |
| |
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/
| |