aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_racct.c
Commit message (Expand)AuthorAgeFilesLines
* Accessing td_state requires thread lock to be held.Edward Tomasz Napierala2013-03-141-4/+2
* Improve KASSERT messages in racct, to make it clear which resourceEdward Tomasz Napierala2012-11-151-12/+17
* Fix kassert that's not really valid for %CPU accounting. The problemEdward Tomasz Napierala2012-11-151-2/+3
* Don't divide by zero.Edward Tomasz Napierala2012-11-131-6/+12
* Add CPU percentage limit enforcement to RCTL. The resouce name is "pcpu".Edward Tomasz Napierala2012-10-261-29/+468
* Fix panic with RACCT that could occur in low memory (or out of swap)Edward Tomasz Napierala2012-05-221-0/+3
* Stop treating system processes as special. This fixes panicsEdward Tomasz Napierala2012-04-171-23/+0
* Cast wallclock.tv_sec to uint64_t to avoid overflow in the calculation.Jaakko Heinonen2012-03-181-1/+2
* Remove useless thread_{lock,unlock}() in raccd.Edward Tomasz Napierala2012-03-101-4/+1
* Make racct and rctl correctly handle jail renaming. PreviouslyEdward Tomasz Napierala2012-03-061-0/+12
* kern_racct: move sys/systm.h inclusion to its proper placeAndriy Gapon2011-12-121-2/+1
* Actually enforce limit for inheritable resources on fork.Edward Tomasz Napierala2011-10-041-6/+6
* Move some code inside the racct_proc_fork(); it spares a few lock operationsEdward Tomasz Napierala2011-10-031-9/+22
* Fix another bug introduced in r225641, which caused rctl to access certainEdward Tomasz Napierala2011-10-031-0/+23
* Fix bug introduced in r225641, which would cause panic if racct_proc_fork()Edward Tomasz Napierala2011-10-031-18/+1
* Fix panic that happens when fork(2) fails due to a limit other thanEdward Tomasz Napierala2011-09-031-7/+12
* Rename resource names to match these in login.conf.Edward Tomasz Napierala2011-07-141-2/+2
* Style fix - macros are supposed to be uppercase.Edward Tomasz Napierala2011-07-071-12/+12
* Remove definitions for RACCT_FSIZE and RACCT_SBSIZE - these two are ratherEdward Tomasz Napierala2011-05-271-5/+0
* Change the way rctl interfaces with jails by introducing prison_racctEdward Tomasz Napierala2011-05-031-5/+9
* Add missing stubs.Edward Tomasz Napierala2011-04-051-0/+12
* Remove pointless (always true) KASSERTs.Edward Tomasz Napierala2011-03-291-19/+0
* Add racct. It's an API to keep per-process, per-jail, per-loginclassEdward Tomasz Napierala2011-03-291-0/+837