Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jul 2004 23:36:13 +0000 (UTC)
From:      Julian Elischer <julian@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_exit.c kern_fork.c kern_kse.c kern_thr.c kern_thread.c sched_4bsd.c sched_ule.c src/sys/sys sched.h
Message-ID:  <200407182336.i6INaDrY007821@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
julian      2004-07-18 23:36:13 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_exit.c kern_fork.c kern_kse.c 
                         kern_thr.c kern_thread.c sched_4bsd.c 
                         sched_ule.c 
    sys/sys              sched.h 
  Log:
  When calling scheduler entrypoints for creating new threads and processes,
  specify "us" as the thread not the process/ksegrp/kse.
  You can always find the others from the thread but the converse is not true.
  Theorotically this would lead to runtime being allocated to the wrong
  entity in some cases though it is not clear how often this actually happenned.
  (would only affect threaded processes and would probably be pretty benign,
  but it WAS a bug..)
  
  Reviewed by: peter
  
  Revision  Changes    Path
  1.242     +1 -1      src/sys/kern/kern_exit.c
  1.230     +1 -1      src/sys/kern/kern_fork.c
  1.186     +2 -2      src/sys/kern/kern_kse.c
  1.23      +2 -2      src/sys/kern/kern_thr.c
  1.189     +2 -2      src/sys/kern/kern_thread.c
  1.46      +14 -14    src/sys/kern/sched_4bsd.c
  1.117     +18 -15    src/sys/kern/sched_ule.c
  1.14      +6 -6      src/sys/sys/sched.h



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