summaryrefslogtreecommitdiffstats
path: root/sys/vm/device_pager.c
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2005-06-10 17:27:54 +0000
committeralc <alc@FreeBSD.org>2005-06-10 17:27:54 +0000
commit53e95f1eb244e6a536f89590a775e57f963aba99 (patch)
treefbc3044b62517de773f507f0458bbae0b02d0ebe /sys/vm/device_pager.c
parent2f60aac277af6a5bab2625fcd1033448790e60b6 (diff)
downloadFreeBSD-src-53e95f1eb244e6a536f89590a775e57f963aba99.zip
FreeBSD-src-53e95f1eb244e6a536f89590a775e57f963aba99.tar.gz
Add a comment to the effect that fictitious pages do not require the
initialization of their machine-dependent fields.
Diffstat (limited to 'sys/vm/device_pager.c')
-rw-r--r--sys/vm/device_pager.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/vm/device_pager.c b/sys/vm/device_pager.c
index 11d54d6..376badd 100644
--- a/sys/vm/device_pager.c
+++ b/sys/vm/device_pager.c
@@ -283,6 +283,10 @@ dev_pager_haspage(object, pindex, before, after)
return (TRUE);
}
+/*
+ * Instantiate a fictitious page. Unlike physical memory pages, only
+ * the machine-independent fields must be initialized.
+ */
static vm_page_t
dev_pager_getfake(paddr)
vm_paddr_t paddr;
OpenPOWER on IntegriCloud