Re: [RFC] procfs has run out of inode numbers

Manfred Spraul (manfred@colorfullife.com)
Tue, 27 Jun 2000 18:14:01 +0200


Chris Wedgwood wrote:
>
> On Mon, Jun 26, 2000 at 09:14:46PM +0200, Manfred Spraul wrote:
>
> AFAICS we can either
> * hash all entries in proc, and use iunique.
> * return duplicate inode numbers. It only affects the /proc/<pid> part
> of procfs, but perhaps some apps rely on unique inode numbers.
>
> (3) Hope it's not an issue until we get 64-bit inodes (we will need
> these sooner or later anyhow).
>
:-(

Try it:
* create one process
* fork & child sleeps
* parent enlarges the file table to 35000 descriptors, and dups stdout.

IMHO we should returns duplicate inode numbers, then we can also allow >
10.000 threads on platforms with sizeof(pid_t) > 2.

--
	Manfred

- 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/