Re: PIDs limited to 15 significant bits

From: Adam Sampson (ats1@ukc.ac.uk)
Date: Mon Oct 02 2000 - 13:42:10 EST


On Sun, Oct 01, 2000 at 10:48:41PM -0400, Albert D. Cahalan wrote:
> I see you don't remember the original post. It argued in
> favor of a large PID space "because the output of ps wouldn't
> look nice otherwise"!!! (the poster wanted output sorted by
> start time without using --sort=start to ask for it)

Why not use 32-bit PIDs in the kernel, but make the number at which they
wrap a configurable option? That way, most users can keep the numbers small
for ease of management, and people who really need 100,000 processes can
have them.

-- 

Adam Sampson azz@gnu.org

- 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 : Sat Oct 07 2000 - 21:00:10 EST