Re: RFC/PATCH: Random pid generation (2nd try) - sorry

Matthew Kirkwood (weejock@ferret.lmh.ox.ac.uk)
Tue, 11 Jan 2000 13:35:35 +0000 (GMT)


On Tue, 11 Jan 2000, Ph. Marek wrote:

> can somebody please explain why the stock kernel is *slower* than the
> modified with a multiplication inside??

When the pid space gets fragmented, the kernel often has to do a lot of
work to find the next free pid. Until you have wrapped next_pid, that's
not an issue, though.

Matthew.

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