From owner-svn-src-head@FreeBSD.ORG Sat Mar 2 18:07:30 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 39F54E94; Sat, 2 Mar 2013 18:07:30 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 21ACAA95; Sat, 2 Mar 2013 18:07:30 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r22I7UsE087067; Sat, 2 Mar 2013 18:07:30 GMT (envelope-from alc@svn.freebsd.org) Received: (from alc@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r22I7UKl087066; Sat, 2 Mar 2013 18:07:30 GMT (envelope-from alc@svn.freebsd.org) Message-Id: <201303021807.r22I7UKl087066@svn.freebsd.org> From: Alan Cox Date: Sat, 2 Mar 2013 18:07:29 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r247659 - head/sys/vm X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Mar 2013 18:07:30 -0000 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;