Module Name: src Committed By: yamt Date: Fri Apr 8 10:38:36 UTC 2011
Modified Files: src/sys/uvm: uvm_map.c Log Message: comment To generate a diff of this commit: cvs rdiff -u -r1.295 -r1.296 src/sys/uvm/uvm_map.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/uvm/uvm_map.c diff -u src/sys/uvm/uvm_map.c:1.295 src/sys/uvm/uvm_map.c:1.296 --- src/sys/uvm/uvm_map.c:1.295 Wed Feb 2 15:25:27 2011 +++ src/sys/uvm/uvm_map.c Fri Apr 8 10:38:36 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_map.c,v 1.295 2011/02/02 15:25:27 chuck Exp $ */ +/* $NetBSD: uvm_map.c,v 1.296 2011/04/08 10:38:36 yamt Exp $ */ /* * Copyright (c) 1997 Charles D. Cranor and Washington University. @@ -66,7 +66,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.295 2011/02/02 15:25:27 chuck Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.296 2011/04/08 10:38:36 yamt Exp $"); #include "opt_ddb.h" #include "opt_uvmhist.h" @@ -3398,11 +3398,12 @@ KASSERT(entry != &map->header); KASSERT(start < entry->end); /* - * XXX IMPLEMENT ME. - * Should invent a "weak" mode for uvm_fault() - * which would only do the PGO_LOCKED pgo_get(). + * For now, we handle only the easy but commonly-requested case. + * ie. start prefetching of backing uobj pages. * - * for now, we handle only the easy but common case. + * XXX It might be useful to pmap_enter() the already-in-core + * pages by inventing a "weak" mode for uvm_fault() which would + * only do the PGO_LOCKED pgo_get(). */ if (UVM_ET_ISOBJ(entry) && amap == NULL && uobj != NULL) { off_t offset;