From 4ced7dd5bfe688ebe95fc18f9528d3b8ff1257ea Mon Sep 17 00:00:00 2001 From: John Dyson Date: Mon, 24 Nov 1997 06:18:27 +0000 Subject: Avoid manipulating the buffer map at interrupt time by deferring bfreekva to getnewbuf, and remove from brelse. Reviewed by: dg@root.com --- sys/kern/vfs_bio.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index 72a276195a84..1361d43bf594 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -18,7 +18,7 @@ * 5. Modifications may be freely made to this file if the above conditions * are met. * - * $Id: vfs_bio.c,v 1.133 1997/11/06 19:29:29 phk Exp $ + * $Id: vfs_bio.c,v 1.134 1997/11/07 08:53:04 phk Exp $ */ /* @@ -651,10 +651,6 @@ brelse(struct buf * bp) LIST_REMOVE(bp, b_hash); LIST_INSERT_HEAD(&invalhash, bp, b_hash); bp->b_dev = NODEV; - /* - * Get rid of the kva allocation *now* - */ - bfreekva(bp); /* buffers with junk contents */ } else if (bp->b_flags & (B_ERROR | B_INVAL | B_NOCACHE | B_RELBUF)) { -- cgit v1.3