cvs commit: src/sys/kern init_main.c kern_descrip.c sys_pipe.cuipc_syscalls.c uipc_usrreq.c vfs_syscalls.c src/sys/sysfiledesc.h

Andre Oppermann andre at freebsd.org
Thu Jan 15 06:32:23 PST 2004


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().
> 
>   Debts of gratitude are owed to tjr@ (who provided the original patch on
>   which this work is based), grog@ (for the gdb(4) man page) and rwatson@
>   (for assistance with pxeboot(8)).

Excellent!

-- 
Andre


More information about the cvs-src mailing list