Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jul 2003 11:55:04 -0700 (PDT)
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 sys_pipe.c
Message-ID:  <200307301855.h6UIt4Mr063436@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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