Subject: Re: new pid allocation - any advantages?
To: Pavel Cahyna <>
From: David Laight <>
List: tech-kern
Date: 03/21/2003 09:27:08
> As I understand it, the table is initially small and grows on demand. Is
> there any way do shrink it back, if the number of processes is
> substantially lowered? 

Deemed too hard :-)
To halve the table size, the allocated ids in each half would have to
miss.  Sorting out the freelist (to ensure ids are reused immediately)
could also be fun!

Since the system had enough memory to create the processes, keeping
2 pointers for each one that was allocated doesn't seem a problem.


David Laight: