Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 May 2010 15:52:08 +0000 (UTC)
From:      Alan Cox <alc@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/kern uipc_syscalls.c
Message-ID:  <201005061552.o46FqKr5026607@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
alc         2010-05-06 15:52:08 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             uipc_syscalls.c 
  Log:
  SVN rev 207700 on 2010-05-06 15:52:08Z by alc
  
  Eliminate a small bit of unneeded code from kern_sendfile(): While
  kern_sendfile() is running, the file's vm object can't be destroyed
  because kern_sendfile() increments the vm object's reference count.  (Once
  kern_sendfile() decrements the reference count and returns, the vm object
  can, however, be destroyed.  So, sf_buf_mext() must handle the case where
  the vm object is destroyed.)
  
  Reviewed by:    kib
  
  Revision  Changes    Path
  1.296     +2 -7      src/sys/kern/uipc_syscalls.c



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