diff options
author | dg <dg@FreeBSD.org> | 1995-04-19 10:32:11 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-04-19 10:32:11 +0000 |
commit | c2e217461cd110c5fd5468a5165daf3d99eb9e69 (patch) | |
tree | d070c6f77c85314bccfcf94503879b996b3626dc /sys/vm | |
parent | 874da2b43f5b9f8b7f473346ea1e4f4a119df8bd (diff) | |
download | FreeBSD-src-c2e217461cd110c5fd5468a5165daf3d99eb9e69.zip FreeBSD-src-c2e217461cd110c5fd5468a5165daf3d99eb9e69.tar.gz |
New flag: B_PAGING. Added as part of the vn driver hack.
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/swap_pager.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c index fe5266e..9438b13 100644 --- a/sys/vm/swap_pager.c +++ b/sys/vm/swap_pager.c @@ -39,7 +39,7 @@ * from: Utah $Hdr: swap_pager.c 1.4 91/04/30$ * * @(#)swap_pager.c 8.9 (Berkeley) 3/21/94 - * $Id: swap_pager.c,v 1.33 1995/04/16 12:56:14 davidg Exp $ + * $Id: swap_pager.c,v 1.34 1995/04/16 13:58:42 davidg Exp $ */ /* @@ -1065,7 +1065,7 @@ swap_pager_input(swp, m, count, reqpage) */ pmap_qenter(kva, m, count); - bp->b_flags = B_BUSY | B_READ | B_CALL; + bp->b_flags = B_BUSY | B_READ | B_CALL | B_PAGING; bp->b_iodone = swap_pager_iodone1; bp->b_proc = &proc0; /* XXX (but without B_PHYS set this is ok) */ bp->b_rcred = bp->b_wcred = bp->b_proc->p_ucred; @@ -1422,7 +1422,7 @@ swap_pager_output(swp, m, count, flags, rtvals) bp->b_spc = spc; bp->b_vnbufs.le_next = NOLIST; - bp->b_flags = B_BUSY; + bp->b_flags = B_BUSY | B_PAGING; bp->b_proc = &proc0; /* XXX (but without B_PHYS set this is ok) */ bp->b_rcred = bp->b_wcred = bp->b_proc->p_ucred; if (bp->b_rcred != NOCRED) |