Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jul 2002 20:43:34 -0700 (PDT)
From:      Julian Elischer <julian@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sys proc.h src/sys/kern init_main.c kern_fork.c kern_idle.c kern_proc.c kern_switch.c kern_synch.c kern_thread.c
Message-ID:  <200207140343.g6E3hYSY016002@freefall.freebsd.org>

index | next in thread | raw e-mail

julian      2002/07/13 20:43:33 PDT

  Modified files:
    sys/sys              proc.h 
    sys/kern             init_main.c kern_fork.c kern_idle.c 
                         kern_proc.c kern_switch.c kern_synch.c 
                         kern_thread.c 
  Log:
  Thinking about it I came to the conclusion that the KSE states were incorrectly
  formulated.  The correct states should be:
  IDLE:  On the idle KSE list for that KSEG
  RUNQ:  Linked onto the system run queue.
  THREAD: Attached to a thread and slaved to whatever state the thread is in.
  
  This means that most places where we were adjusting kse state can go away
  as it is just moving around because the thread is..
  The only places we need to adjust the KSE state is in transition to and from
  the idle and run queues.
  
  Reviewed by:    jhb@freebsd.org
  
  Revision  Changes    Path
  1.198     +1 -1      src/sys/kern/init_main.c
  1.153     +1 -3      src/sys/kern/kern_fork.c
  1.24      +1 -5      src/sys/kern/kern_idle.c
  1.141     +0 -2      src/sys/kern/kern_proc.c
  1.33      +10 -131   src/sys/kern/kern_switch.c
  1.185     +4 -13     src/sys/kern/kern_synch.c
  1.6       +0 -3      src/sys/kern/kern_thread.c
  1.229     +1 -1      src/sys/sys/proc.h

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



home | help

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