Re: Hmm.. "notify_parent()".

From: Linus Torvalds (torvalds@transmeta.com)
Date: Tue Aug 29 2000 - 00:11:27 EST


In article <20000829035343.J1795@parcelfarce.linux.theplanet.co.uk>,
Philipp Rumpf <prumpf@parcelfarce.linux.theplanet.co.uk> wrote:
>
>Just so no one else bothers checking this, the trick we use in sys_getppid()
>doesn't work. I'm also not convinced it's worth it to keep that one - it is
>rather subtle and we end up doing a memory barrier anyway.

Yeah, getppid() is a special case.

And yes, it's subtle and probable not really worth it. But it's one of
those things where it does make a few cycles of difference. And it's one
of the system calls people use for benchmarking.

Blush.

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



This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:23 EST