Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2002 15:57:02 -0800 (PST)
From:      Maxime Henrion <mux@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_thread.c src/sys/sys proc.h src/sys/i386/i386 vm_machdep.c src/sys/alpha/alpha vm_machdep.c src/sys/ia64/ia64 vm_machdep.c src/sys/powerpc/powerpc vm_machdep.c src/sys/sparc64/sparc64 vm_machdep.c
Message-ID:  <200211222357.gAMNv2lE095251@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
mux         2002/11/22 15:57:02 PST

  Modified files:
    sys/kern             kern_thread.c 
    sys/sys              proc.h 
    sys/i386/i386        vm_machdep.c 
    sys/alpha/alpha      vm_machdep.c 
    sys/ia64/ia64        vm_machdep.c 
    sys/powerpc/powerpc  vm_machdep.c 
    sys/sparc64/sparc64  vm_machdep.c 
  Log:
  Under certain circumstances, we were calling kmem_free() from
  i386 cpu_thread_exit().  This resulted in a panic with WITNESS
  since we need to hold Giant to call kmem_free(), and we weren't
  helding it anymore in cpu_thread_exit().  We now do this from a
  new MD function, cpu_thread_dtor(), called by thread_dtor().
  
  Approved by:    re@
  Suggested by:   jhb
  
  Revision  Changes    Path
  1.75      +5 -0      src/sys/alpha/alpha/vm_machdep.c
  1.194     +17 -9     src/sys/i386/i386/vm_machdep.c
  1.49      +5 -0      src/sys/ia64/ia64/vm_machdep.c
  1.66      +3 -0      src/sys/kern/kern_thread.c
  1.78      +5 -0      src/sys/powerpc/powerpc/vm_machdep.c
  1.28      +5 -0      src/sys/sparc64/sparc64/vm_machdep.c
  1.283     +1 -0      src/sys/sys/proc.h

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211222357.gAMNv2lE095251>