Date: Sun, 7 Mar 2004 08:22:32 -0800 (PST) From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 48344 for review Message-ID: <200403071622.i27GMWLJ022070@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=48344 Change 48344 by peter@peter_melody on 2004/03/07 08:21:56 dont grab giant for kmem_free() Affected files ... .. //depot/projects/hammer/sys/i386/i386/vm_machdep.c#20 edit Differences ... ==== //depot/projects/hammer/sys/i386/i386/vm_machdep.c#20 (text+ko) ==== @@ -320,10 +320,8 @@ * 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; } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403071622.i27GMWLJ022070>