svn commit: r283162 - head/sys/vm

Konstantin Belousov kib at FreeBSD.org
Wed May 20 23:03:23 UTC 2015


Author: kib
Date: Wed May 20 23:03:22 2015
New Revision: 283162
URL: https://svnweb.freebsd.org/changeset/base/283162

Log:
  Remove the write-only variable phent.  We currently do not check the
  size of the program header's entries.
  
  Reported by:	adrian (by using gcc 4.9)
  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 19:32:57 2015	(r283161)
+++ head/sys/vm/vm_page.c	Wed May 20 23:03:22 2015	(r283162)
@@ -1756,6 +1756,7 @@ vm_page_alloc(vm_object_t object, vm_pin
 				m->wire_count = 0;
 			}
 			m->object = NULL;
+			m->oflags = VPO_UNMANAGED;
 			vm_page_free(m);
 			return (NULL);
 		}


More information about the svn-src-all mailing list