cvs commit: src/sys/kern src/sys/sys

Matthew Dillon dillon at
Tue Aug 24 14:54:50 PDT 2004

dillon      2004/08/24 14:53:41 PDT

DragonFly src repository

  Modified files:
    sys/kern             kern_sfbuf.c uipc_syscalls.c 
    sys/sys              sfbuf.h 
  Fix a SFBUF memory leak in sendfile().  We were not properly tracking
  references which would lead to SFBUFs not getting freed when two or more
  sendfile()'s are operating on the same file at the same time (e.g. parallel
  ftp downloads of the same file).
  Get rid of the sf_buf->aux1 and aux2 hacks for sendfile.
  Add a sysctl to allow the number of free SFBUFs to be monitored.
  Revision  Changes    Path
  1.11      +6 -1      src/sys/kern/kern_sfbuf.c
  1.41      +28 -17    src/sys/kern/uipc_syscalls.c
  1.6       +0 -2      src/sys/sys/sfbuf.h

More information about the Commits mailing list