DragonFly BSD
DragonFly commits List (threaded) for 2004-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/i386/i386 uio_machdep.c src/sys/kern kern_sfbuf.c uipc_syscalls.c src/sys/sys sfbuf.h


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 29 Mar 2004 07:46:22 -0800 (PST)

dillon      2004/03/29 07:46:21 PST

DragonFly src repository

  Modified files:
    sys/i386/i386        uio_machdep.c 
    sys/kern             kern_sfbuf.c uipc_syscalls.c 
    sys/sys              sfbuf.h 
  Log:
  Generally bring in additional sf_buf improvements from FreeBSD-5.  Separate
  the wiring used by sendfile into its own mbuf_ext support code and remove it
  from the sf_buf code.  Alan Cox's uiomove_fromphys() was expecting to use
  the cleaner version of sf_buf.  This fixes a long standing bug related to
  multiple mbuf refs in the sendfile() code and also fixes recent bugs
  introduced to the PIPE code from the importation of uiomove_fromphys() (due
  to differences in the sf_buf API).  The sf_buf API is now more normalized
  towards FBSD-5.
  
  Note that the mbuf_ext API has not changed, and is very differnt from
  FBSD-5 in regards to handling multiple references.  Introduce some temporary
  hacks to sf_buf to get around the fact which will be pulled when the
  mbuf_ext API is updated later on.
  
  Revision  Changes    Path
  1.2       +1 -2      src/sys/i386/i386/uio_machdep.c
  1.2       +11 -23    src/sys/kern/kern_sfbuf.c
  1.29      +48 -3     src/sys/kern/uipc_syscalls.c
  1.3       +5 -2      src/sys/sys/sfbuf.h


http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/uio_machdep.c.diff?r1=1.1&r2=1.2&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_sfbuf.c.diff?r1=1.1&r2=1.2&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_syscalls.c.diff?r1=1.28&r2=1.29&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/sys/sfbuf.h.diff?r1=1.2&r2=1.3&f=h



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]