Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/uebayasi-xip]: src/sys/miscfs/genfs Comment.
details: https://anonhg.NetBSD.org/src/rev/3bacd94ea7fe
branches: uebayasi-xip
changeset: 751725:3bacd94ea7fe
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Mon Jun 07 16:57:17 2010 +0000
description:
Comment.
diffstat:
sys/miscfs/genfs/genfs_io.c | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r f12a5d8f3ea7 -r 3bacd94ea7fe sys/miscfs/genfs/genfs_io.c
--- a/sys/miscfs/genfs/genfs_io.c Mon May 31 13:26:36 2010 +0000
+++ b/sys/miscfs/genfs/genfs_io.c Mon Jun 07 16:57:17 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: genfs_io.c,v 1.36.2.8 2010/05/31 13:26:37 uebayasi Exp $ */
+/* $NetBSD: genfs_io.c,v 1.36.2.9 2010/06/07 16:57:17 uebayasi Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: genfs_io.c,v 1.36.2.8 2010/05/31 13:26:37 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: genfs_io.c,v 1.36.2.9 2010/06/07 16:57:17 uebayasi Exp $");
#include "opt_direct_page.h"
#include "opt_xip.h"
@@ -743,7 +743,15 @@
}
#ifdef XIP
-/* XXX should be merged into genfs_do_getpages() */
+/*
+ * genfs_do_getpages_xip
+ * Return "direct pages" of XIP vnode. The block addresses of XIP
+ * vnode pages are returned back to the VM fault handler as the
+ * actually mapped physical addresses.
+ *
+ * XXX Should be merged into genfs_do_getpages() after
+ * XXX genfs_do_getpages() and genfs_do_io() are merged.
+ */
static int
genfs_do_getpages_xip(void *v)
{
Home |
Main Index |
Thread Index |
Old Index