Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 May 2001 11:47:17 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern sys_pipe.c
Message-ID:  <200105211847.f4LIlIg73441@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2001/05/21 11:47:17 PDT

  Modified files:
    sys/kern             sys_pipe.c 
  Log:
  - Assert that the vm mutex is held in pipe_free_kmem().
  - Don't release the vm mutex early in pipespace() but instead hold it
    across vm_object_deallocate() if vm_map_find() returns an error and
    across pipe_free_kmem() if vm_map_find() succeeds.
  - Add a XXX above a zfree() since zalloc already has its own locking,
    one would hope that zfree() wouldn't need the vm lock.
  
  Revision  Changes    Path
  1.78      +7 -2      src/sys/kern/sys_pipe.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?200105211847.f4LIlIg73441>