Messages in this thread |  | | From | (Linus Torvalds) | Subject | Re: Hmm.. "notify_parent()". | Date | 28 Aug 2000 22:11:27 -0700 |
| |
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/
|  |