Re: Intel P6 vs P7 system call performance

Ulrich Drepper (drepper@redhat.com)
Tue, 17 Dec 2002 10:57:29 -0800


Alan Cox wrote:

> getppid changes and so I think has to go to kernel (unless we go around
> patching user pages on process exit [ick]).

But this is exactly what I expect to happen. If you want to implement
gettimeofday() at user-level you need to modify the page. Some of the
information the kernel has to keep for the thread group can be stored in
this place and eventually be used by some uerlevel code executed by
jumping to 0xfffff000 or whatever the address is.

-- 
--------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------

- 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/