aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_resource.c
Commit message (Expand)AuthorAgeFilesLines
* sys: Automated cleanup of cdefs and other formattingWarner Losh2023-11-271-1/+0
* sys: Remove ancient SCCS tags.Warner Losh2023-11-271-2/+0
* sys: Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
* inline_fls: drop compile-time checkDoug Moore2023-07-061-5/+0
* rlimit: line up with other clean up in thread_reap_domainMateusz Guzik2023-05-201-0/+27
* Adjust function definitions in kern_resource.c to avoid clang 15 warningsDimitry Andric2022-07-261-2/+2
* Use vmspace->vm_stacktop in place of sv_usrstack in more places.John Baldwin2022-02-141-2/+2
* Employ thread_cow_synced in setrlimitMateusz Guzik2022-02-111-2/+12
* Add lim_cowsync, similar to crcowsyncMateusz Guzik2022-02-111-0/+20
* setrlimit: Remove special handling for RLIMIT_STACK with a stack gapMark Johnston2022-01-171-3/+0
* Ignore calcru: runtime went backwards for vm_guestSimon J. Gerraty2022-01-151-1/+1
* Add idle priority scheduling privilege group to MAC/priorityFlorian Walpen2021-12-101-1/+2
* Add PRIV_SCHED_IDPRIOFlorian Walpen2021-12-101-14/+14
* syscalls: normalize (get|set)rlimitBrooks Davis2021-11-291-4/+4
* setrlimit: Take stack gap into account.Dawid Gorecki2021-10-151-0/+3
* umtx: Split umtx.h on two counterparts.Dmitry Chagin2021-07-291-1/+1
* vm_map_protect: allow to set prot and max_prot in one go.Konstantin Belousov2021-01-121-1/+2
* thread: batch resource limit free callsMateusz Guzik2020-11-141-0/+8
* Allow rtprio_thread to operate on threads of any processMateusz Guzik2020-11-101-2/+1
* kern: clean up empty lines in .c and .h filesMateusz Guzik2020-09-011-2/+0
* Remove duplicated empty lines from kern/*.cMateusz Guzik2020-01-301-1/+0
* dd kern_getpriority(), make Linuxulator use it.Edward Tomasz Napierala2020-01-121-8/+15
* Add kern_setpriority(), use it in Linuxulator.Edward Tomasz Napierala2020-01-121-12/+19
* schedlock 1/4Jeff Roberson2019-12-151-9/+16
* Fix a typo introduced in r344133Andrew Gallatin2019-03-181-1/+1
* Finish the fix for overflow in calcru1().Bruce Evans2019-02-141-6/+87
* Prevent overflow for usertime/systime in caclru1Conrad Meyer2019-02-101-4/+13
* Make lim_cur inline if possible.Mateusz Guzik2018-12-111-1/+1
* Replace hand-rolled unrefs if > 1 with refcount_release_if_not_lastMateusz Guzik2018-12-071-5/+1
* eliminate locking surrounding ui_vmsize and swap reserve by using atomicsMatt Macy2018-10-051-3/+0
* Move most of the contents of opt_compat.h to opt_global.h.Brooks Davis2018-04-061-2/+0
* Always use atomic_fetchadd() when updating per-user accounting values.John Baldwin2018-01-041-6/+5
* sys: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-0/+2
* Save on uihash table locking by checking if the caller already uses the structMateusz Guzik2017-11-011-0/+12
* Remove register keyword from sys/ and ANSIfy prototypesEd Maste2017-05-171-8/+8
* Renumber license clauses in sys/kern to avoid skipping #3Ed Maste2016-09-151-1/+1
* Implement process-shared locks support for libthr.so.3, withoutKonstantin Belousov2016-02-281-0/+7
* Fold lim_shared into lim_copy to mute a -Wunused compiler warning fromEnji Cooper2015-12-221-10/+1
* Speed up rctl operation with large rulesets, by holding the lockEdward Tomasz Napierala2015-11-151-1/+6
* Get rid of lim_update_thread and cred_update_thread.Mateusz Guzik2015-07-161-14/+0
* rlimit: deduplicate code in chg* functionsMateusz Guzik2015-06-251-46/+27
* Implement lockless resource limits.Mateusz Guzik2015-06-101-32/+60
* Implement support for binary to requesting specific stack size for theKonstantin Belousov2015-04-151-1/+6
* The process spin lock currently has the following distinct uses:Konstantin Belousov2014-11-261-10/+10
* ifdef RACCT ui_racct_foreach and struct uidinfo's ui_racctMateusz Guzik2014-11-231-0/+2
* Tidy up functions related to uidinfo management.Mateusz Guzik2014-10-271-45/+47
* De-k&r-ify function definitions in kern/kern_resource.cMateusz Guzik2014-10-271-57/+20
* rlimit: plug duplicate assertionMateusz Guzik2014-10-251-1/+0
* rlimit: avoid unnecessary copying of rlimitsMateusz Guzik2013-12-131-6/+16
* rlimit: add and utilize lim_sharedMateusz Guzik2013-12-131-1/+11