Messages in this thread | | | Date | Sat, 5 Jun 2004 15:57:09 -0700 | From | "David S. Miller" <> | Subject | Re: clone() <-> getpid() bug in 2.6? |
| |
On Sat, 05 Jun 2004 18:47:43 -0400 Robert Love <rml@ximian.com> wrote:
> It is almost certainly done to improve the speed of some stupid > microbenchmark - say, one that just calls getpid() repeatedly (simple > because it is NOT slow) to measure system call overhead.
Luckily lmbench and friends use getppid() specifically because it is impossible to cache that (as far as I can tell). - 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/
| |