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/14.2
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_racct.c
Commit message (
Expand
)
Author
Age
Files
Lines
*
kern_racct: Fix a typo in a source code comment
Gordon Bergling
2022-02-09
1
-1
/
+1
*
Drop "All rights reserved" from all my stuff. This includes
Edward Tomasz Napierala
2020-10-28
1
-1
/
+0
*
Move racct/rctl throttling from userret() to ast(). There's no reason
Edward Tomasz Napierala
2020-09-14
1
-0
/
+2
*
kern: clean up empty lines in .c and .h files
Mateusz Guzik
2020-09-01
1
-1
/
+1
*
Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)
Pawel Biernacki
2020-02-26
1
-1
/
+2
*
proc: eliminate the zombproc list
Mateusz Guzik
2019-08-28
1
-8
/
+2
*
racct: add RACCT_ENABLED macro and racct_set_unlocked
Mateusz Guzik
2018-12-07
1
-0
/
+12
*
Convert racct_enable to bool and annotate as __read_frequently
Mateusz Guzik
2018-11-29
1
-3
/
+3
*
Deinline racct throttling out of syscall exit path.
Mateusz Guzik
2018-11-29
1
-0
/
+16
*
proc: create a dedicated lock for zombproc to ligthen the load on allproc_lock
Mateusz Guzik
2018-11-29
1
-0
/
+2
*
fork: remove avoidable proc lock/unlock pair
Mateusz Guzik
2018-11-22
1
-2
/
+2
*
call racct_proc_ucred_changed() under the proc lock
Andriy Gapon
2018-04-20
1
-5
/
+1
*
sys/kern: adoption of SPDX licensing ID tags.
Pedro F. Giffuni
2017-11-27
1
-0
/
+2
*
try to fix RACCT_RSS accounting
Andriy Gapon
2017-02-14
1
-1
/
+4
*
Remove redundant KASSERT.
Edward Tomasz Napierala
2017-01-22
1
-5
/
+1
*
Get rid of rctl_lock; use racct_lock where appropriate. The fast paths
Edward Tomasz Napierala
2016-04-21
1
-27
/
+45
*
Allocate RACCT/RCTL zones without UMA_ZONE_NOFREE; no idea why it was there
Edward Tomasz Napierala
2016-04-15
1
-1
/
+1
*
Sort variable declarations.
Edward Tomasz Napierala
2016-04-15
1
-8
/
+5
*
Add four new RCTL resources - readbps, readiops, writebps and writeiops,
Edward Tomasz Napierala
2016-04-07
1
-11
/
+66
*
Use proper locking macros in RACCT in RCTL.
Edward Tomasz Napierala
2016-04-05
1
-37
/
+39
*
Fix mismerge.
Edward Tomasz Napierala
2016-04-01
1
-1
/
+1
*
Drop the 'resource' argument to racct_decay(); it wouldn't make sense
Edward Tomasz Napierala
2016-04-01
1
-13
/
+11
*
Call rctl_enforce() in all cases the resource usage goes up, even when called
Edward Tomasz Napierala
2016-04-01
1
-8
/
+6
*
Reorder the functions; no functional changes.
Edward Tomasz Napierala
2016-04-01
1
-32
/
+32
*
Reduce code duplication.
Edward Tomasz Napierala
2016-04-01
1
-17
/
+13
*
Reduce code duplication. There should be no (intended) functional changes.
Edward Tomasz Napierala
2016-04-01
1
-64
/
+27
*
Rename P_KTHREAD struct proc p_flag to P_KPROC.
Konstantin Belousov
2016-02-09
1
-1
/
+1
*
fork: plug a use after free of the returned process
Mateusz Guzik
2016-02-04
1
-2
/
+1
*
Fix style issues around existing SDT probes.
Mark Johnston
2015-12-16
1
-33
/
+34
*
Tweak comments.
Edward Tomasz Napierala
2015-12-13
1
-2
/
+2
*
Actually make the 'amount' argument to racct_adjust_resource() signed,
Edward Tomasz Napierala
2015-12-13
1
-1
/
+1
*
Avoid useless relocking.
Edward Tomasz Napierala
2015-12-13
1
-1
/
+1
*
Speed up rctl operation with large rulesets, by holding the lock
Edward Tomasz Napierala
2015-11-15
1
-4
/
+20
*
Fix a bug in the CPU % limiting code
Josh Paetzel
2015-11-10
1
-8
/
+8
*
save some bytes by using more concise SDT_PROBE<n> instead of SDT_PROBE
Andriy Gapon
2015-09-28
1
-15
/
+13
*
nit: Rename racct_alloc_resource to racct_adjust_resource.
Jeremie Le Hen
2015-06-14
1
-12
/
+12
*
Build GENERIC with RACCT/RCTL support by default. Note that it still
Edward Tomasz Napierala
2015-05-14
1
-1
/
+1
*
Add kern.racct.enable tunable and RACCT_DISABLED config option.
Edward Tomasz Napierala
2015-04-29
1
-1
/
+97
*
The process spin lock currently has the following distinct uses:
Konstantin Belousov
2014-11-26
1
-2
/
+2
*
Convert racct stubs to inline functions.
Mateusz Guzik
2014-10-06
1
-84
/
+0
*
dtrace sdt: remove the ugly sname parameter of SDT_PROBE_DEFINE
Andriy Gapon
2013-11-26
1
-18
/
+18
*
- For kernel compiled only with KDTRACE_HOOKS and not any lock debugging
Attilio Rao
2013-11-25
1
-1
/
+0
*
Accessing td_state requires thread lock to be held.
Edward Tomasz Napierala
2013-03-14
1
-4
/
+2
*
Improve KASSERT messages in racct, to make it clear which resource
Edward Tomasz Napierala
2012-11-15
1
-12
/
+17
*
Fix kassert that's not really valid for %CPU accounting. The problem
Edward Tomasz Napierala
2012-11-15
1
-2
/
+3
*
Don't divide by zero.
Edward Tomasz Napierala
2012-11-13
1
-6
/
+12
*
Add CPU percentage limit enforcement to RCTL. The resouce name is "pcpu".
Edward Tomasz Napierala
2012-10-26
1
-29
/
+468
*
Fix panic with RACCT that could occur in low memory (or out of swap)
Edward Tomasz Napierala
2012-05-22
1
-0
/
+3
*
Stop treating system processes as special. This fixes panics
Edward Tomasz Napierala
2012-04-17
1
-23
/
+0
*
Cast wallclock.tv_sec to uint64_t to avoid overflow in the calculation.
Jaakko Heinonen
2012-03-18
1
-1
/
+2
[next]