Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Sep 2002 00:00:37 -0700 (PDT)
From:      Julian Elischer <julian@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_exit.c kern_fork.c kern_proc.c kern_thread.c src/sys/sys proc.h src/sys/vm vm_glue.c
Message-ID:  <200209060700.g8670bec085173@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
julian      2002/09/06 00:00:37 PDT

  Modified files:
    sys/kern             kern_exit.c kern_fork.c kern_proc.c 
                         kern_thread.c 
    sys/sys              proc.h 
    sys/vm               vm_glue.c 
  Log:
  Use UMA as a complex object allocator.
  The process allocator now caches and hands out complete process structures
  *including substructures* .
  
  i.e. it get's the process structure with the first thread (and soon KSE)
  already allocated and attached, all in one hit.
  
  For the average non threaded program (non KSE that is) the allocated thread and its stack remain attached to the process, even when the process is
  unused and in the process cache. This saves having to allocate and attach it
  later, effectively bringing us (hopefully) close to the efficiency
  of pre-KSE systems where these were a single structure.
  
  Reviewed by:    davidxu@freebsd.org, peter@freebsd.org
  
  Revision  Changes    Path
  1.174     +2 -0      src/sys/kern/kern_exit.c
  1.161     +3 -33     src/sys/kern/kern_fork.c
  1.144     +31 -17    src/sys/kern/kern_proc.c
  1.20      +46 -42    src/sys/kern/kern_thread.c
  1.242     +15 -11    src/sys/sys/proc.h
  1.153     +0 -5      src/sys/vm/vm_glue.c

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?200209060700.g8670bec085173>