Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jan 2011 22:26:00 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/kern init_main.c kern_kthread.c
Message-ID:  <201101062226.p06MQDuG087013@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2011-01-06 22:26:00 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             init_main.c kern_kthread.c 
  Log:
  SVN rev 217079 on 2011-01-06 22:26:00Z by jhb
  
  - Properly initialize the base priority (td_base_pri) of thread0 to PVM
    to match the desired priority in td_priority.  Otherwise the first time
    thread0 used a borrowed priority it would drop down to PUSER instead of
    PVM.
  - Explicitly initialize the starting priority of new kprocs to PVM to
    avoid inheriting some random priority from thread0.
  
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.319     +1 -1      src/sys/kern/init_main.c
  1.60      +5 -4      src/sys/kern/kern_kthread.c



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