aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_resource.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* Add a resource limit for the total number of kqueues available to theKonstantin Belousov2013-10-211-0/+18
* Call sched_prio() to immediately change the priority of the thread inIan Lepore2013-03-071-4/+4
* MFcalloutng (r244251 with minor changes):Davide Italiano2013-03-041-3/+6
* Change kern.proc.rlimit sysctl to:Mikolaj Golub2012-01-221-6/+9
* Fix a logic bug in change 228207 in the check for a thread's new userJohn Baldwin2012-01-051-1/+1
* - Add a sysctl to allow non-root users the ability to set idleEitan Adler2011-12-131-25/+33
* When changing the user priority of a thread, change the real priorityJohn Baldwin2011-12-021-2/+3
* In lim_fork() assert that processes locks are held.Mikolaj Golub2011-11-071-0/+4
* In order to maximize the re-usability of kernel code in user space thisKip Macy2011-09-161-8/+8
* - Export each thread's individual resource usage in in struct kinfo_proc'sJohn Baldwin2011-07-181-6/+34
* Fix several places to ignore processes that are not yet fully constructed.John Baldwin2011-04-061-3/+6
* Add racct. It's an API to keep per-process, per-jail, per-loginclassEdward Tomasz Napierala2011-03-291-0/+20
* Fix some locking nits with the p_state field of struct proc:John Baldwin2011-03-241-4/+2
* - Follow r216313, the sched_unlend_user_prio is no longer needed, alwaysDavid Xu2010-12-291-0/+2
* Add back a bounds check on valid idle priorities that was lost in anJohn Baldwin2010-12-171-8/+6
* We've already set p = td->td_proc, so use it.Ed Maste2010-10-181-4/+4