diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2004-03-08 01:55:34 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2004-03-08 01:55:34 +0000 |
| commit | ec4a10ee268023bc44b5eb1cc4e876bd807316db (patch) | |
| tree | 0dc754f97fcfd2e6ba626cb9892e7964b684866e /sys | |
| parent | a69d88af529d7c3de54a087cb1059a83cd0d20bb (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/i386/i386/vm_machdep.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/i386/i386/vm_machdep.c b/sys/i386/i386/vm_machdep.c index e9e236f462ff5..b09128d483c69 100644 --- a/sys/i386/i386/vm_machdep.c +++ b/sys/i386/i386/vm_machdep.c @@ -320,8 +320,10 @@ cpu_thread_clean(struct thread *td) * 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; } } |
