From owner-cvs-sys Mon Jul 1 07:23:00 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA29827 for cvs-sys-outgoing; Mon, 1 Jul 1996 07:23:00 -0700 (PDT) Received: (from davidg@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA29787; Mon, 1 Jul 1996 07:22:28 -0700 (PDT) Date: Mon, 1 Jul 1996 07:22:28 -0700 (PDT) From: David Greenman Message-Id: <199607011422.HAA29787@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/vm vm_kern.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 96/07/01 07:22:24 Branch: sys/vm RELENG_2_1_0 Modified: sys/vm vm_kern.c Log: Fixed rather serious bug in the use of pmap_kenter() in kmem_malloc(). It's important that pmap_enter() be used here because the pages won't be removed from the kernel VM when freed otherwise. This would result in the potential for the wrong page(s) being used if a vm_map_pageable() was done on this same address space (since no fault would occur, the previous page(s) would be bogusly used instead). This is almost certainly yet another cause of wcarchive instabilities. Thanks to John Dyson for helping me track this one down! Revision Changes Path 1.13.4.3 +4 -2 src/sys/vm/vm_kern.c