aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_resource.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* Create a global thread hash table to speed up thread lookup, useDavid Xu2010-10-091-23/+13
* Revert r210225 - turns out I was wrong; the "/*-" is not license-onlyEdward Tomasz Napierala2010-07-181-1/+1
* The "/*-" comment marker is supposed to denote copyrights. Remove non-copyrightEdward Tomasz Napierala2010-07-181-1/+1
* Remove outdated comment and move part of it into more applicable place.Edward Tomasz Napierala2010-07-181-5/+0
* Use ISO C99 integer types in sys/kern where possible.Ed Schouten2010-06-211-1/+1
* Fix the double counting of the last process thread td_incruntimeKonstantin Belousov2010-05-241-3/+3
* Implement RUSAGE_THREAD. Add td_rux to keep extended runtime and ticksKonstantin Belousov2010-05-041-11/+22
* Extract thread_lock()/ruxagg()/thread_unlock() fragment into utilityKonstantin Belousov2010-05-011-13/+14
* sched_getparam was just plain broke for time-shareRandall Stewart2010-03-031-2/+8
* Implement global and per-uid accounting of the anonymous memory. AddKonstantin Belousov2009-06-231-0/+6
* Don't rearm callout if the process is exiting, it may leak a calloutDavid Xu2008-10-241-1/+2
* Retire the MALLOC and FREE macros. They are an abomination unto style(9).Dag-Erling Smørgrav2008-10-231-1/+1
* Fix a small typo in a comment in calcru1().Ed Schouten2008-09-051-1/+1
* Integrate the new MPSAFE TTY layer to the FreeBSD operating system.Ed Schouten2008-08-201-0/+25
* Remove extra uihold() call that accidentally sneak in during perforcePawel Jakub Dawidek2008-03-191-1/+0
* - Relax requirements for p_numthreads, p_threads, p_swtick, and p_nice fromJeff Roberson2008-03-191-16/+4
* Whitespace cleanups.Pawel Jakub Dawidek2008-03-161-7/+7
* - Use wait-free method to manage ui_sbsize and ui_proccnt fields in thePawel Jakub Dawidek2008-03-161-58/+48
* Style fixes.Pawel Jakub Dawidek2008-03-161-11/+7
* Fix information leak. We can find PIDs of running processes from withinPawel Jakub Dawidek2008-03-161-1/+2