summaryrefslogtreecommitdiffstats
path: root/sys/vm/device_pager.c
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2009-06-21 00:21:33 +0000
committeralc <alc@FreeBSD.org>2009-06-21 00:21:33 +0000
commit7b05ffed76747ad78e9d871322b18ca60e6b8693 (patch)
tree74b0d998b0bb25128f0f355d5229959a3c7ac2f6 /sys/vm/device_pager.c
parentda6735320825654d2417fed4a078082641fa4cdf (diff)
downloadFreeBSD-src-7b05ffed76747ad78e9d871322b18ca60e6b8693.zip
FreeBSD-src-7b05ffed76747ad78e9d871322b18ca60e6b8693.tar.gz
Strive for greater consistency among the places that implement real,
fictious, and contiguous page allocation. Eliminate unnecessary reinitialization of a page's fields.
Diffstat (limited to 'sys/vm/device_pager.c')
-rw-r--r--sys/vm/device_pager.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/vm/device_pager.c b/sys/vm/device_pager.c
index 5e31e2b..5472d64 100644
--- a/sys/vm/device_pager.c
+++ b/sys/vm/device_pager.c
@@ -307,6 +307,7 @@ dev_pager_getfake(paddr)
m->flags = PG_FICTITIOUS;
m->oflags = VPO_BUSY;
+ /* Fictitious pages don't use "act_count". */
m->valid = VM_PAGE_BITS_ALL;
m->dirty = 0;
m->busy = 0;
OpenPOWER on IntegriCloud