Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Dec 2003 09:07:29 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern sched_4bsd.c
Message-ID:  <200312261707.hBQH7Ta7093692@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2003/12/26 09:07:29 PST

  FreeBSD src repository

  Modified files:
    sys/kern             sched_4bsd.c 
  Log:
  Create a separate kthread that executes sched_cpu() once a second.  Because
  sched_cpu() locks an sx lock (allproc_lock) which can sleep if it fails to
  acquire the lock, it is not safe to execute this in a callout handler from
  softclock().
  
  Revision  Changes    Path
  1.29      +21 -6     src/sys/kern/sched_4bsd.c



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