Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Mar 2013 18:07:29 +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: r247659 - head/sys/vm
Message-ID:  <201303021807.r22I7UKl087066@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: alc
Date: Sat Mar  2 18:07:29 2013
New Revision: 247659
URL: http://svnweb.freebsd.org/changeset/base/247659

Log:
  The value held by the vm object's field pg_color is only considered
  valid if the flag OBJ_COLORED is set.  Since _vm_object_allocate()
  doesn't set this flag, it needn't initialize pg_color.
  
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  head/sys/vm/vm_object.c

Modified: head/sys/vm/vm_object.c
==============================================================================
--- head/sys/vm/vm_object.c	Sat Mar  2 17:51:22 2013	(r247658)
+++ head/sys/vm/vm_object.c	Sat Mar  2 18:07:29 2013	(r247659)
@@ -241,7 +241,6 @@ _vm_object_allocate(objtype_t type, vm_p
 	object->memattr = VM_MEMATTR_DEFAULT;
 	object->cred = NULL;
 	object->charge = 0;
-	object->pg_color = 0;
 	object->handle = NULL;
 	object->backing_object = NULL;
 	object->backing_object_offset = (vm_ooffset_t) 0;



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