cvs commit: src/sys/kern imgact_elf.c init_main.c kern_checkpoint.c kern_descrip.c kern_event.c sys_generic.c sys_pipe.c uipc_syscalls.c uipc_usrreq.c vfs_aio.c vfs_syscalls.c src/sys/sys filedesc.h src/sys/dev/misc/streams streams.c ...

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Jun 21 18:34:47 PDT 2005


dillon      2005/06/21 18:33:34 PDT

DragonFly src repository

  Modified files:
    sys/kern             imgact_elf.c init_main.c 
                         kern_checkpoint.c kern_descrip.c 
                         kern_event.c sys_generic.c sys_pipe.c 
                         uipc_syscalls.c uipc_usrreq.c vfs_aio.c 
                         vfs_syscalls.c 
    sys/sys              filedesc.h 
    sys/dev/misc/streams streams.c 
    sys/emulation/ibcs2/i386 ibcs2_fcntl.c ibcs2_ioctl.c 
    sys/emulation/linux  linux_file.c 
    sys/emulation/svr4   svr4_fcntl.c svr4_filio.c svr4_ioctl.c 
                         svr4_stream.c 
    sys/netgraph/socket  ng_socket.c 
    sys/netproto/smb     smb_dev.c 
    sys/vfs/fdesc        fdesc_vfsops.c fdesc_vnops.c 
    sys/vfs/portal       portal_vnops.c 
    sys/vm               vm_mmap.c 
  Log:
  File descriptor cleanup stage 2, remove the separate arrays for file
  pointers, fileflags, and allocation counts and replace the mess with a
  single structural array.  Also revamp the code that checks whether the
  file descriptor array is built-in or allocated.
  
  Note that the removed malloc's were doing something weird, allocating
  'nf * OFILESIZE + 1' bytes instead of 'nf * OFILESIZE' bytes.  I could
  not find any reason at all why it was doing that.  It's gone now anyway.
  
  Revision  Changes    Path
  1.30      +1 -1      src/sys/kern/imgact_elf.c
  1.44      +8 -10     src/sys/kern/init_main.c
  1.3       +2 -2      src/sys/kern/kern_checkpoint.c
  1.44      +128 -139  src/sys/kern/kern_descrip.c
  1.15      +2 -2      src/sys/kern/kern_event.c
  1.22      +6 -6      src/sys/kern/sys_generic.c
  1.29      +1 -1      src/sys/kern/sys_pipe.c
  1.55      +5 -5      src/sys/kern/uipc_syscalls.c
  1.22      +6 -6      src/sys/kern/uipc_usrreq.c
  1.17      +3 -3      src/sys/kern/vfs_aio.c
  1.64      +9 -9      src/sys/kern/vfs_syscalls.c
  1.11      +13 -26    src/sys/sys/filedesc.h
  1.16      +1 -1      src/sys/dev/misc/streams/streams.c
  1.10      +1 -1      src/sys/emulation/ibcs2/i386/ibcs2_fcntl.c
  1.9       +1 -1      src/sys/emulation/ibcs2/i386/ibcs2_ioctl.c
  1.21      +2 -2      src/sys/emulation/linux/linux_file.c
  1.16      +3 -3      src/sys/emulation/svr4/svr4_fcntl.c
  1.8       +3 -3      src/sys/emulation/svr4/svr4_filio.c
  1.12      +1 -1      src/sys/emulation/svr4/svr4_ioctl.c
  1.14      +2 -2      src/sys/emulation/svr4/svr4_stream.c
  1.11      +1 -1      src/sys/netgraph/socket/ng_socket.c
  1.11      +1 -1      src/sys/netproto/smb/smb_dev.c
  1.14      +1 -1      src/sys/vfs/fdesc/fdesc_vfsops.c
  1.18      +3 -3      src/sys/vfs/fdesc/fdesc_vnops.c
  1.22      +1 -1      src/sys/vfs/portal/portal_vnops.c
  1.22      +2 -2      src/sys/vm/vm_mmap.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/imgact_elf.c.diff?r1=1.29&r2=1.30&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/init_main.c.diff?r1=1.43&r2=1.44&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_checkpoint.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_descrip.c.diff?r1=1.43&r2=1.44&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_event.c.diff?r1=1.14&r2=1.15&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/sys_generic.c.diff?r1=1.21&r2=1.22&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/sys_pipe.c.diff?r1=1.28&r2=1.29&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_syscalls.c.diff?r1=1.54&r2=1.55&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_usrreq.c.diff?r1=1.21&r2=1.22&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_aio.c.diff?r1=1.16&r2=1.17&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_syscalls.c.diff?r1=1.63&r2=1.64&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/filedesc.h.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/misc/streams/streams.c.diff?r1=1.15&r2=1.16&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/ibcs2/i386/ibcs2_fcntl.c.diff?r1=1.9&r2=1.10&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/ibcs2/i386/ibcs2_ioctl.c.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/linux/linux_file.c.diff?r1=1.20&r2=1.21&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/svr4/svr4_fcntl.c.diff?r1=1.15&r2=1.16&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/svr4/svr4_filio.c.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/svr4/svr4_ioctl.c.diff?r1=1.11&r2=1.12&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/svr4/svr4_stream.c.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netgraph/socket/ng_socket.c.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/smb/smb_dev.c.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/fdesc/fdesc_vfsops.c.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/fdesc/fdesc_vnops.c.diff?r1=1.17&r2=1.18&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/portal/portal_vnops.c.diff?r1=1.21&r2=1.22&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_mmap.c.diff?r1=1.21&r2=1.22&f=u





More information about the Commits mailing list