svn commit: r334057 - head/sys/vm

Mark Johnston markj at FreeBSD.org
Tue May 22 16:19:49 UTC 2018


Author: markj
Date: Tue May 22 16:19:48 2018
New Revision: 334057
URL: https://svnweb.freebsd.org/changeset/base/334057

Log:
  Ensure that "m" is initialized in vm_page_alloc_freelist_domain().
  
  While here, remove a superfluous comment.
  
  Coverity CID:	1383559
  MFC after:	3 days

Modified:
  head/sys/vm/vm_page.c

Modified: head/sys/vm/vm_page.c
==============================================================================
--- head/sys/vm/vm_page.c	Tue May 22 16:03:41 2018	(r334056)
+++ head/sys/vm/vm_page.c	Tue May 22 16:19:48 2018	(r334057)
@@ -2191,9 +2191,7 @@ vm_page_alloc_freelist_domain(int domain, int freelist
 	vm_page_t m;
 	u_int flags;
 
-	/*
-	 * Do not allocate reserved pages unless the req has asked for it.
-	 */
+	m = NULL;
 	vmd = VM_DOMAIN(domain);
 again:
 	if (vm_domain_allocate(vmd, req, 1)) {


More information about the svn-src-head mailing list