network/uinet/sys/kern/kern_proc.c
/*
 * UMA should ensure that this function is never called.
 * Freeing a proc structure would violate type stability.
 */
UMA should ensure that this function is never called.
Freeing a proc structure would violate type stability.
UMA should ensure that this function is never called . Freeing a proc structure would violate type stability .
static void
proc_fini(void *mem, int size)
{
#ifdef notnow
	struct proc *p;
	p = (struct proc *)mem;
	EVENTHANDLER_INVOKE(process_fini, p);
	pstats_free(p->p_stats);
	thread_free(FIRST_THREAD_IN_PROC(p));
	mtx_destroy(&p->p_mtx);
	if (p->p_ksi != NULL)
		ksiginfo_free(p->p_ksi);
#else
	panic("proc reclaimed");
#endif
}
static void proc_fini ( void * mem , int size ) { #ifdef notnow struct proc * p ; p = ( struct proc * ) mem ; EVENTHANDLER_INVOKE ( process_fini , p ) ; pstats_free ( p -> p_stats ) ; thread_free ( FIRST_THREAD_IN_PROC ( p ) ) ; mtx_destroy ( & p -> p_mtx ) ; if ( p -> p_ksi != NULL ) ksiginfo_free ( p -> p_ksi ) ; #else panic ( " " ) ; #endif }
UMA should ensure that this function is never called.
UMA should ensure that this function is never called .