cvs commit: src/sys/sys syslink.h syslink_msg.h xio.h src/sys/kern kern_syslink.c kern_xio.c

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Jun 28 17:20:40 PDT 2007


dillon      2007/06/28 17:18:05 PDT

DragonFly src repository

  Modified files:
    sys/sys              syslink.h syslink_msg.h xio.h 
    sys/kern             kern_syslink.c kern_xio.c 
  Log:
  Get out-of-band DMA buffers working for user<->user syslinks.  This
  allows the syslink protocol to operate in a manner very similar to the
  way sophisticated DMA hardware works, where you have a DMA buffer attached
  to a command.
  
  Augment the syslink protocol to implement read, write, and read-modify-write
  style commands.
  
  Obtain the MP lock in places where needed because fileops are called without
  it held now.  Our VM ops are not MP safe yet.
  
  Use an XIO to map VM pages between userland processes.  Add additional
  XIO functions to aid in copying data to and from a userland context.  This
  removes an extra buffer copy from the path and allows us to manipulate pure
  vm_page_t's for just about everything.
  
  Revision  Changes    Path
  1.11      +2 -1      src/sys/sys/syslink.h
  1.10      +12 -1     src/sys/sys/syslink_msg.h
  1.8       +2 -0      src/sys/sys/xio.h
  1.13      +141 -17   src/sys/kern/kern_syslink.c
  1.13      +94 -1     src/sys/kern/kern_xio.c


http://www.dragonflybsd.org/cvsweb/src/sys/sys/syslink.h.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/syslink_msg.h.diff?r1=1.9&r2=1.10&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/xio.h.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_syslink.c.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_xio.c.diff?r1=1.12&r2=1.13&f=u





More information about the Commits mailing list