Author: kib
Date: Thu Jul 11 05:10:36 2013
New Revision: 253185
URL: http://svnweb.freebsd.org/changeset/base/253185

Log:
  MFamd64 r253140:
  Clear m->object for the page taken from the delayed free list in
  pmap_pv_reclaim().
  
  Noted by:     alc

Modified:
  head/sys/i386/i386/pmap.c

Modified: head/sys/i386/i386/pmap.c
==============================================================================
--- head/sys/i386/i386/pmap.c   Thu Jul 11 04:57:08 2013        (r253184)
+++ head/sys/i386/i386/pmap.c   Thu Jul 11 05:10:36 2013        (r253185)
@@ -2311,6 +2311,7 @@ out:
        if (m_pc == NULL && pv_vafree != 0 && free != NULL) {
                m_pc = free;
                free = (void *)m_pc->object;
+               m_pc->object = NULL;
                /* Recycle a freed page table page. */
                m_pc->wire_count = 1;
                atomic_add_int(&cnt.v_wire_count, 1);
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to