svn commit: r220621 - in head/sys: kern sys

Sergey Kandaurov pluknet at FreeBSD.org
Thu Apr 14 14:25:48 UTC 2011


Author: pluknet
Date: Thu Apr 14 14:25:47 2011
New Revision: 220621
URL: http://svn.freebsd.org/changeset/base/220621

Log:
  Remove stale M_ZOMBIE malloc type.
  This type is unused since embedding p_ru into struct proc.
  
  MFC after:	1 week

Modified:
  head/sys/kern/kern_exit.c
  head/sys/sys/proc.h

Modified: head/sys/kern/kern_exit.c
==============================================================================
--- head/sys/kern/kern_exit.c	Thu Apr 14 10:40:57 2011	(r220620)
+++ head/sys/kern/kern_exit.c	Thu Apr 14 14:25:47 2011	(r220621)
@@ -94,9 +94,6 @@ SDT_PROVIDER_DECLARE(proc);
 SDT_PROBE_DEFINE(proc, kernel, , exit, exit);
 SDT_PROBE_ARGTYPE(proc, kernel, , exit, 0, "int");
 
-/* Required to be non-static for SysVR4 emulator */
-MALLOC_DEFINE(M_ZOMBIE, "zombie", "zombie proc status");
-
 /* Hook for NFS teardown procedure. */
 void (*nlminfo_release_p)(struct proc *p);
 

Modified: head/sys/sys/proc.h
==============================================================================
--- head/sys/sys/proc.h	Thu Apr 14 10:40:57 2011	(r220620)
+++ head/sys/sys/proc.h	Thu Apr 14 14:25:47 2011	(r220621)
@@ -664,7 +664,6 @@ MALLOC_DECLARE(M_PARGS);
 MALLOC_DECLARE(M_PGRP);
 MALLOC_DECLARE(M_SESSION);
 MALLOC_DECLARE(M_SUBPROC);
-MALLOC_DECLARE(M_ZOMBIE);
 #endif
 
 #define	FOREACH_PROC_IN_SYSTEM(p)					\


More information about the svn-src-head mailing list