Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jan 2010 12:05:51 +0000 (UTC)
From:      Attilio Rao <attilio@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src UPDATING src/share/man/man9 sleepqueue.9 src/sys/conf NOTES options src/sys/kern kern_clock.c subr_sleepqueue.c subr_turnstile.c src/sys/sys proc.h sleepqueue.h
Message-ID:  <201001251212.o0PCCRGP038766@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
attilio     2010-01-25 12:05:51 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    .                    UPDATING 
    share/man/man9       sleepqueue.9 
    sys/conf             NOTES options 
    sys/kern             kern_clock.c subr_sleepqueue.c 
                         subr_turnstile.c 
    sys/sys              proc.h sleepqueue.h 
  Log:
  SVN rev 202966 on 2010-01-25 12:05:51Z by attilio
  
  MFC r201879:
  Introduce the new kernel thread called "deadlock resolver".
  It is used in order to seek within the threads state and heuristically
  understand if there is any deadlock happening.
  
  In order to implement it, the sq_type in sleepqueues is mandatory and not
  only compiled along with INVARIANTS option. Additively, a new sleepqueue
  function, sleepq_type() is added, returning the type of the sleepqueue
  linked to a wchan.
  Three new sysctls are added in order to configure the thread:
  debug.deadlkres.slptime_threshold
  debug.deadlkres.blktime_threshold
  debug.deadlkres.sleepfreq
  
  rappresenting the thresholds for sleep and block time that will lead to
  a deadlock matching (when exceeded), while the sleepfreq rappresents the
  number of seconds between 2 consecutive thread runnings.
  In order to enable the deadlock resolver thread recompile your kernel
  with the option DEADLKRES.
  
  Sponsored by:   Sandvine Incorporated
  
  Revision    Changes    Path
  1.632.2.10  +5 -0      src/UPDATING
  1.17.2.4    +10 -1     src/share/man/man9/sleepqueue.9
  1.1553.2.7  +5 -0      src/sys/conf/NOTES
  1.687.2.6   +1 -0      src/sys/conf/options
  1.211.2.2   +121 -1    src/sys/kern/kern_clock.c
  1.64.2.3    +25 -3     src/sys/kern/subr_sleepqueue.c
  1.175.2.2   +2 -0      src/sys/kern/subr_turnstile.c
  1.535.2.6   +1 -0      src/sys/sys/proc.h
  1.17.2.3    +1 -0      src/sys/sys/sleepqueue.h



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