There is no need for it in the kernel and contention on the zombproc list lock slightly drives up both allproc and proctree (the lock is taken with either of them held).
I did not change the loop in db_ps to do everything over the hash since it would completely change the (probably expected) order.