index
:
src
main
releng/1
releng/10.0
releng/10.1
releng/10.2
releng/10.3
releng/10.4
releng/11.0
releng/11.1
releng/11.2
releng/11.3
releng/11.4
releng/12.0
releng/12.1
releng/12.2
releng/12.3
releng/12.4
releng/13.0
releng/13.1
releng/13.2
releng/13.3
releng/13.4
releng/14.0
releng/14.1
releng/2.0
releng/2.0.5
releng/4.10
releng/4.11
releng/4.3
releng/4.4
releng/4.5
releng/4.6
releng/4.7
releng/4.8
releng/4.9
releng/5.0
releng/5.1
releng/5.2
releng/5.3
releng/5.4
releng/5.5
releng/6.0
releng/6.1
releng/6.2
releng/6.3
releng/6.4
releng/7.0
releng/7.1
releng/7.2
releng/7.3
releng/7.4
releng/8.0
releng/8.1
releng/8.2
releng/8.3
releng/8.4
releng/9.0
releng/9.1
releng/9.2
releng/9.3
stable/10
stable/11
stable/12
stable/13
stable/14
stable/2.1
stable/2.2
stable/3
stable/4
stable/5
stable/6
stable/7
stable/8
stable/9
vendor/CSRG
vendor/Juniper/libxo
vendor/Linux/ath-common
vendor/Linux/ath10k
vendor/Linux/ath11k
vendor/Linux/ath12k
vendor/Linux/iwlwifi
vendor/Linux/mt76
vendor/Linux/rtw88
vendor/Linux/rtw89
vendor/NetBSD/blacklist
vendor/NetBSD/bmake
vendor/NetBSD/libc-pwcache
vendor/NetBSD/libc-vis
vendor/NetBSD/libedit
vendor/NetBSD/libexecinfo
vendor/NetBSD/lukemftp
vendor/NetBSD/lukemftpd
vendor/NetBSD/misc
vendor/NetBSD/mknod
vendor/NetBSD/mtree
vendor/NetBSD/softfloat
vendor/NetBSD/sort
vendor/NetBSD/tests
vendor/NetBSD/unvis
vendor/NetBSD/vis
vendor/NetBSD/xlint
vendor/OpenBSD
vendor/SGI
vendor/acpica
vendor/alpine-hal
vendor/alsa
vendor/altq
vendor/amd
vendor/apr
vendor/apr-util
vendor/arm-optimized-routines
vendor/atf
vendor/ath
vendor/bc
vendor/bearssl
vendor/bind
vendor/bind4
vendor/bind9
vendor/bind9-9.3
vendor/bind9-9.4
vendor/bind9-9.6
vendor/bind9-9.8
vendor/binutils
vendor/bionic-x86_64-string
vendor/blocklist
vendor/bsddialog
vendor/bsnmp
vendor/byacc
vendor/bzip2
vendor/ck
vendor/clang
vendor/clang-60
vendor/clang-70
vendor/clang-80
vendor/clang-90
vendor/com_err
vendor/compiler-rt
vendor/compiler-rt-60
vendor/compiler-rt-70
vendor/compiler-rt-80
vendor/compiler-rt-90
vendor/cortex-strings
vendor/csup
vendor/ctfdump
vendor/device-tree
vendor/dhcpcd
vendor/dialog
vendor/dma
vendor/dtc
vendor/dtracetoolkit
vendor/edk2
vendor/ee
vendor/elftoolchain
vendor/ena-com
vendor/expat
vendor/ext2fs
vendor/ficl
vendor/file
vendor/flex
vendor/gcc
vendor/gdb
vendor/gdtoa
vendor/global
vendor/google/capsicum-test
vendor/google/googletest
vendor/got/diff
vendor/gperf
vendor/groff
vendor/heimdal
vendor/heirloom-doctools
vendor/hostapd
vendor/hyperv
vendor/illumos
vendor/ipfilter
vendor/ipfilter-sys
vendor/ipfilter-sys-old
vendor/isc-dhcp
vendor/kerberosIV
vendor/krb5
vendor/kyua
vendor/ldns
vendor/ldns-host
vendor/less
vendor/lib9p
vendor/libarchive
vendor/libbegemot
vendor/libc++
vendor/libc++-60
vendor/libc++-70
vendor/libc++-80
vendor/libc++-90
vendor/libcbor
vendor/libcxxrt
vendor/libdes
vendor/libdivsufsort
vendor/libevent
vendor/libfdt
vendor/libfido2
vendor/libgmp
vendor/libpam
vendor/libpcap
vendor/libreadline
vendor/libregex
vendor/libucl
vendor/libuwx
vendor/libyaml
vendor/lld
vendor/lld-60
vendor/lld-70
vendor/lld-80
vendor/lld-90
vendor/lldb
vendor/lldb-60
vendor/lldb-70
vendor/lldb-80
vendor/lldb-90
vendor/llvm
vendor/llvm-60
vendor/llvm-70
vendor/llvm-80
vendor/llvm-90
vendor/llvm-libunwind
vendor/llvm-libunwind-80
vendor/llvm-libunwind-90
vendor/llvm-openmp
vendor/llvm-openmp-80
vendor/llvm-openmp-90
vendor/llvm-project/main
vendor/llvm-project/master
vendor/llvm-project/release-10.x
vendor/llvm-project/release-11.x
vendor/llvm-project/release-12.x
vendor/llvm-project/release-13.x
vendor/llvm-project/release-14.x
vendor/llvm-project/release-15.x
vendor/llvm-project/release-16.x
vendor/llvm-project/release-17.x
vendor/llvm-project/release-18.x
vendor/llvm-project/release-19.x
vendor/llvm-project/release-8.x
vendor/llvm-project/release-9.x
vendor/lomac
vendor/lua
vendor/lutok
vendor/mandoc
vendor/misc-GNU/awk
vendor/misc-GNU/bc
vendor/misc-GNU/bison
vendor/misc-GNU/cpio
vendor/misc-GNU/cvs
vendor/misc-GNU/diff
vendor/misc-GNU/grep
vendor/misc-GNU/misc
vendor/misc-GNU/patch
vendor/misc-GNU/sort
vendor/misc-GNU/texinfo
vendor/mrouted
vendor/ncftp
vendor/ncurses
vendor/netcat
vendor/ngatm
vendor/ntp
vendor/ntpd
vendor/nve
vendor/nvi
vendor/octeon-sdk
vendor/one-true-awk
vendor/openbsm
vendor/opencsd
vendor/openpam
vendor/openresolv
vendor/opensolaris
vendor/openssh
vendor/openssl
vendor/openssl-0.9.8
vendor/openssl-1.0.1
vendor/openssl-1.0.2
vendor/openssl-1.1.1
vendor/openssl-3.0
vendor/openzfs/legacy
vendor/openzfs/master
vendor/openzfs/zfs-2.1-release
vendor/openzfs/zfs-2.2-release
vendor/opie
vendor/pam_modules
vendor/pcg-c
vendor/pciids
vendor/perl5
vendor/pf
vendor/pf-sys
vendor/pjdfstest
vendor/pnglite
vendor/pppd
vendor/qcamain_open_hal
vendor/rarpd
vendor/resolver
vendor/rpcgen
vendor/sendmail
vendor/serf
vendor/skein
vendor/smbfs
vendor/softdep
vendor/softupdates
vendor/spleen
vendor/sqlite3
vendor/ssleay
vendor/stallion
vendor/subversion
vendor/sym
vendor/tcl
vendor/tcp_wrappers
vendor/tcpdump
vendor/tcsh
vendor/terminus
vendor/testfloat
vendor/tnftp
vendor/top
vendor/traceroute
vendor/tre
vendor/tzcode
vendor/tzdata
vendor/tzdb
vendor/unbound
vendor/unifdef
vendor/v4l
vendor/voxware
vendor/wireguard-tools
vendor/wpa
vendor/wpa_supplicant
vendor/x86emu
vendor/xe
vendor/xz
vendor/xz-embedded
vendor/zlib
vendor/zstd
FreeBSD source tree
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
sys
/
kern
/
kern_idle.c
Commit message (
Expand
)
Author
Age
Files
Lines
*
In keeping with style(9)'s recommendations on macros, use a ';'
Robert Watson
2008-03-16
1
-1
/
+1
*
rename the process to 'idle' and 'intr' as per jhb.
Julian Elischer
2007-10-27
1
-2
/
+2
*
Initialise the initial process pointer to NULL so that we know we don't
Julian Elischer
2007-10-27
1
-1
/
+1
*
oops, over optimised and broke non-SMP builds
Julian Elischer
2007-10-26
1
-1
/
+3
*
Introduce a way to make pure kernal threads.
Julian Elischer
2007-10-26
1
-9
/
+7
*
Rename the kthread_xxx (e.g. kthread_create()) calls
Julian Elischer
2007-10-20
1
-3
/
+3
*
Commit 14/14 of sched_lock decomposition.
Jeff Roberson
2007-06-05
1
-2
/
+2
*
- Remove setrunqueue and replace it with direct calls to sched_add().
Jeff Roberson
2007-01-23
1
-42
/
+2
*
Threading cleanup.. part 2 of several.
Julian Elischer
2006-12-06
1
-4
/
+0
*
Use mi_switch, this should fix loadavg calculation problem in NO_KSE case.
David Xu
2006-11-12
1
-5
/
+0
*
Make KSE a kernel option, turned on by default in all GENERIC
John Birrell
2006-10-26
1
-0
/
+9
*
Divorce critical sections from spinlocks. Critical sections as denoted by
John Baldwin
2005-04-04
1
-4
/
+0
*
Set the scheduling class of the idle threads to PRI_IDLE.
Suleiman Souhlal
2005-02-04
1
-1
/
+2
*
Give the 4bsd scheduler the ability to wake up idle processors
Julian Elischer
2004-09-01
1
-0
/
+18
*
Expand the generic, but bogusly formed, copyright notice to include
Warner Losh
2004-07-25
1
-1
/
+21
*
- Change mi_switch() and sched_switch() to accept an optional thread to
John Baldwin
2004-07-02
1
-3
/
+2
*
Adjust the priority of the idle threads to be the lowest possible
John Baldwin
2004-06-28
1
-0
/
+1
*
Always set a process' state to normal when it is fully constructed in
John Baldwin
2004-02-05
1
-1
/
+0
*
- Add a flags parameter to mi_switch. The value of flags may be SW_VOL or
Jeff Roberson
2004-01-25
1
-2
/
+1
*
Tidy up loose ends in the idle process. Call the MI cpu_idle() function
Peter Wemm
2003-10-19
1
-37
/
+5
*
Halt the cpu on amd64 as well. For some strange reason, this makes
Peter Wemm
2003-10-17
1
-1
/
+1
*
Implement cpu_idle() on ia64. We put the processor in a lightweight
Marcel Moolenaar
2003-10-17
1
-1
/
+1
*
Use __FBSDID().
David E. O'Brien
2003-06-11
1
-1
/
+3
*
Move the flag that indicates an idle thread from the KSE to the thread.
Julian Elischer
2003-05-02
1
-1
/
+1
*
Add some locking in for a few proc and thread fields.
John Baldwin
2003-04-17
1
-1
/
+5
*
- Create a new scheduler api that is defined in sys/sched.h
Jeff Roberson
2002-10-12
1
-2
/
+3
*
Some kernel threads try to do significant work, and the default KSTACK_PAGES
Scott Long
2002-10-02
1
-2
/
+2
*
Completely redo thread states.
Julian Elischer
2002-09-11
1
-2
/
+2
*
Slight cleanup of some comments/whitespace.
Julian Elischer
2002-08-01
1
-1
/
+2
*
Make sure the process state for the idle proc is set correctly
Julian Elischer
2002-07-17
1
-0
/
+1
*
Thinking about it I came to the conclusion that the KSE states were incorrectly
Julian Elischer
2002-07-14
1
-5
/
+1
*
Part 1 of KSE-III
Julian Elischer
2002-06-29
1
-4
/
+15
*
Pre-KSE/M3 commit.
Julian Elischer
2002-02-07
1
-2
/
+2
*
Modify the critical section API as follows:
John Baldwin
2001-12-18
1
-1
/
+3
*
Overhaul the per-CPU support a bit:
John Baldwin
2001-12-11
1
-6
/
+6
*
KSE Milestone 2
Julian Elischer
2001-09-12
1
-4
/
+4
*
Remove #if 0'd remnants of the old idle page zeroing.
John Baldwin
2001-09-01
1
-9
/
+0
*
- Split out the support for per-CPU data from the SMP code. UP kernels
John Baldwin
2001-05-10
1
-14
/
+5
*
Undo part of the tangle of having sys/lock.h and sys/mutex.h included in
Mark Murray
2001-05-01
1
-2
/
+3
*
Overhaul of the SMP code. Several portions of the SMP kernel support have
John Baldwin
2001-04-27
1
-11
/
+17
*
Implement a unified run queue and adjust priority levels accordingly.
Jake Burkholder
2001-02-12
1
-0
/
+2
*
- Point out that we don't lock anything during the idle setup because
John Baldwin
2001-02-09
1
-1
/
+6
*
Change and clean the mutex lock interface.
Bosko Milekic
2001-02-09
1
-2
/
+2
*
Catch up to moving headers:
John Baldwin
2000-10-20
1
-1
/
+1
*
Axe the idle_event eventhandler, and add a MD cpu_idle function used
John Baldwin
2000-10-19
1
-4
/
+3
*
EVENTHANDLER_INVOKE() takes two arguments.
Peter Wemm
2000-10-18
1
-1
/
+1
*
Don't needlessly pass the diagnostic counter to the idle_event event
John Baldwin
2000-10-18
1
-1
/
+1
*
- Wrap the sanity checks for staying in the idle loop for absurdly long
John Baldwin
2000-10-17
1
-6
/
+12
*
- Heavyweight interrupt threads on the alpha for device I/O interrupts.
John Baldwin
2000-10-05
1
-2
/
+1
*
Create an event (idle_event) which is invoked every time around the
Mike Smith
2000-09-22
1
-0
/
+7
[next]