Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 May 2015 23:15:57 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r283163 - head/sys/vm
Message-ID:  <201505202315.t4KNFvde070013@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Wed May 20 23:15:56 2015
New Revision: 283163
URL: https://svnweb.freebsd.org/changeset/base/283163

Log:
  Do grammar fix in the comment to record the right commit message for
  r283162.
  
  Fix a cosmetic issue with vm_page_alloc() calling vm_page_free_toq()
  with the page not completely satisfying vm_page_free() assertions.
  The page is not owned by the object, since insertion failed.  But
  besides m->object reset to NULL, we should also set VPO_UNMANAGED flag
  for consistency.
  
  Reported by:	pho
  Reviewed by:	alc
  Sponsored by:	The FreeBSD Foundation
  MFC after:	1 week

Modified:
  head/sys/vm/vm_page.c

Modified: head/sys/vm/vm_page.c
==============================================================================
--- head/sys/vm/vm_page.c	Wed May 20 23:03:22 2015	(r283162)
+++ head/sys/vm/vm_page.c	Wed May 20 23:15:56 2015	(r283163)
@@ -3154,8 +3154,8 @@ vm_page_zero_invalid(vm_page_t m, boolea
 	VM_OBJECT_ASSERT_WLOCKED(m->object);
 	/*
 	 * Scan the valid bits looking for invalid sections that
-	 * must be zerod.  Invalid sub-DEV_BSIZE'd areas ( where the
-	 * valid bit may be set ) have already been zerod by
+	 * must be zeroed.  Invalid sub-DEV_BSIZE'd areas ( where the
+	 * valid bit may be set ) have already been zeroed by
 	 * vm_page_set_validclean().
 	 */
 	for (b = i = 0; i <= PAGE_SIZE / DEV_BSIZE; ++i) {



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