Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 May 2001 15:17:43 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/vm vm_mmap.c
Message-ID:  <200105232217.f4NMHht45955@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2001/05/23 15:17:43 PDT

  Modified files:
    sys/vm               vm_mmap.c 
  Log:
  - Obtain Giant in mmap() syscall while messing with file descriptors and
    vnodes.
  - Fix an old bug that would leak a reference to a fd if the vnode being
    mmap'd wasn't of type VREG or VCHR.
  - Lock Giant in vm_mmap() around calls into the VM that can call into
    pager routines that need Giant or into other VM routines that need
    Giant.
  - Replace code that used a goto to jump around the else branch of a test
    to use an else branch instead.
  
  Revision  Changes    Path
  1.121     +33 -19    src/sys/vm/vm_mmap.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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