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

Eivind Eklund eivind at FreeBSD.org
Thu Jan 15 08:26:41 PST 2004


On Thu, Jan 15, 2004 at 11:16:01AM +0100, Dag-Erling Smørgrav wrote:
> Dag-Erling Smorgrav <des at FreeBSD.org> writes:
> >   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().
> 
> See http://people.freebsd.org/~des/fdbench/ for benchmark results.

Nice work!

Eivind.


More information about the cvs-src mailing list