Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Mar 2003 22:14:15 -0800 (PST)
From:      Alan Cox <alc@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern uipc_cow.c uipc_syscalls.c src/sys/sys socketvar.h
Message-ID:  <200303290614.h2T6EFpi010346@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
alc         2003/03/28 22:14:15 PST

  FreeBSD src repository

  Modified files:
    sys/kern             uipc_cow.c uipc_syscalls.c 
    sys/sys              socketvar.h 
  Log:
  Pass the vm_page's address to sf_buf_alloc(); map the vm_page as part
  of sf_buf_alloc() instead of expecting sf_buf_alloc()'s caller to map it.
  
  The ultimate reason for this change is to enable two optimizations:
  (1) that there never be more than one sf_buf mapping a vm_page at a time
  and (2) 64-bit architectures can transparently use their 1-1 virtual
  to physical mapping (e.g., "K0SEG") avoiding the overhead of pmap_qenter()
  and pmap_qremove().
  
  Revision  Changes    Path
  1.12      +1 -3      src/sys/kern/uipc_cow.c
  1.144     +6 -9      src/sys/kern/uipc_syscalls.c
  1.103     +1 -1      src/sys/sys/socketvar.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303290614.h2T6EFpi010346>