Re: [PATCH v5 8/9] x86-64: Emulate legacy vsyscalls
From: Ingo Molnar
Date: Mon Jun 06 2011 - 11:27:19 EST
* pageexec@xxxxxxxxxxx <pageexec@xxxxxxxxxxx> wrote:
> > > a page fault is never a fast path, after all the cpu has just
> > > taken an exception (vs. the syscall/sysenter style actually
> > > fast user->kernel transition) and is about to make page table
> > > changes (and possibly TLB flushes).
> >
> > Sure it is. It's a path that's optimized carefully and needs to
> > be as fast as possible. Just because it's annoyingly slow
> > doesn't mean we get to make it even slower.
>
> sorry, but stating that the pf handler is a fast path doesn't make
> it so ;) [...]
Are you talking about the Linux kernel?
FYI, incredible amount of work has gone into making pagefaults as
fast and scalable as possible. If you are following Linux kernel
development you'd have to be virtually blind to not see all that
effort.
[ And yes, serious amount of work has gone into the hardware side as
well - P4's used to suck *really* bad at pagefaults. ]
You claiming that pagefaults are a slow-path and ridiculing those who
point out your mistake does not make it a slowpath.
Thanks,
Ingo
--
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/