PERFORCE change 48398 for review

Peter Wemm peter at FreeBSD.org
Sun Mar 7 18:21:26 PST 2004


http://perforce.freebsd.org/chv.cgi?CH=48398

Change 48398 by peter at peter_overcee on 2004/03/07 18:20:55

	nuke before I accidently commit it.

Affected files ...

.. //depot/projects/hammer/sys/i386/i386/vm_machdep.c#22 edit

Differences ...

==== //depot/projects/hammer/sys/i386/i386/vm_machdep.c#22 (text+ko) ====

@@ -320,8 +320,10 @@
 		 * XXX do we need to move the TSS off the allocated pages
 		 * before freeing them?  (not done here)
 		 */
+		mtx_lock(&Giant);
 		kmem_free(kernel_map, (vm_offset_t)pcb->pcb_ext,
 		    ctob(IOPAGES + 1));
+		mtx_unlock(&Giant);
 		pcb->pcb_ext = 0;
 	}
 }


More information about the p4-projects mailing list