diff options
author | dyson <dyson@FreeBSD.org> | 1997-11-24 06:18:27 +0000 |
---|---|---|
committer | dyson <dyson@FreeBSD.org> | 1997-11-24 06:18:27 +0000 |
commit | 0c60b939c75b21895bb3586a0d4cf29156dc862a (patch) | |
tree | c76991a0015b2822e69a175d0e5698120ad004ff | |
parent | 99ebdb0835a429d5122978e6a7f20fd11eedb61f (diff) | |
download | FreeBSD-src-0c60b939c75b21895bb3586a0d4cf29156dc862a.zip FreeBSD-src-0c60b939c75b21895bb3586a0d4cf29156dc862a.tar.gz |
Avoid manipulating the buffer map at interrupt time by deferring bfreekva
to getnewbuf, and remove from brelse.
Reviewed by: dg@root.com
-rw-r--r-- | sys/kern/vfs_bio.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index 72a2761..1361d43 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)) { |