Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jun 2009 17:06:20 +0000 (UTC)
From:      Alan Cox <alc@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r193522 - head/sys/vm
Message-ID:  <200906051706.n55H6KsG032164@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: alc
Date: Fri Jun  5 17:06:20 2009
New Revision: 193522
URL: http://svn.freebsd.org/changeset/base/193522

Log:
  vm_thread_swapin() needn't validate any pages.  The pages are already
  validated by vm_pager_get_pages().

Modified:
  head/sys/vm/vm_glue.c

Modified: head/sys/vm/vm_glue.c
==============================================================================
--- head/sys/vm/vm_glue.c	Fri Jun  5 16:55:10 2009	(r193521)
+++ head/sys/vm/vm_glue.c	Fri Jun  5 17:06:20 2009	(r193522)
@@ -455,7 +455,6 @@ vm_thread_swapin(struct thread *td)
 			if (rv != VM_PAGER_OK)
 				panic("vm_thread_swapin: cannot get kstack for proc: %d", td->td_proc->p_pid);
 			m = vm_page_lookup(ksobj, i);
-			m->valid = VM_PAGE_BITS_ALL;
 		}
 		ma[i] = m;
 		vm_page_lock_queues();



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906051706.n55H6KsG032164>