Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jan 2004 22:12:19 +1100
From:      Tim Robbins <tjr@freebsd.org>
To:        Dag-Erling Smorgrav <des@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern init_main.c kern_descrip.c sys_pipe.c uipc_syscalls.c uipc_usrreq.c vfs_syscalls.c src/sys/sys filedesc.h
Message-ID:  <20040115111219.GA20914@cat.robbins.dropbear.id.au>
In-Reply-To: <200401151015.i0FAF49u009868@repoman.freebsd.org>
References:  <200401151015.i0FAF49u009868@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 15, 2004 at 02:15:04AM -0800, Dag-Erling Smorgrav wrote:

> des         2004/01/15 02:15:04 PST
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/kern             init_main.c kern_descrip.c sys_pipe.c 
>                          uipc_syscalls.c uipc_usrreq.c 
>                          vfs_syscalls.c 
>     sys/sys              filedesc.h 
>   Log:
>   New file descriptor allocation code, derived from similar code introduced
>   in OpenBSD by Niels Provos.  The patch introduces a bitmap of allocated
>   file descriptors which is used to locate available descriptors when a new
>   one is needed.  It also moves the task of growing the file descriptor table
>   out of fdalloc(), reducing complexity in both fdalloc() and do_dup().

Thanks for committing this. I'm interested, though, what was the reason you
changed it to use a single bitmap instead of two levels?


Tim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040115111219.GA20914>