cvs commit: src/sys/kern sys_pipe.c

Alan Cox alc at FreeBSD.org
Wed Jul 30 11:55:06 PDT 2003


alc         2003/07/30 11:55:04 PDT

  FreeBSD src repository

  Modified files:
    sys/kern             sys_pipe.c 
  Log:
  The introduction of vm object locking has caused witness to reveal
  a long-standing mistake in the way a portion of a pipe's KVA is
  allocated.  Specifically, kmem_alloc_pageable() is inappropriate
  for use in the "direct" case because it allows a preceding vm map entry
  and vm object to be extended to support the new KVA allocation.
  However, the direct case KVA allocation should not have a backing
  vm object.  This is corrected by using kmem_alloc_nofault().
  
  Submitted by:   tegge (with the above explanation by me)
  
  Revision  Changes    Path
  1.140     +1 -1      src/sys/kern/sys_pipe.c


More information about the cvs-src mailing list