summaryrefslogtreecommitdiff
path: root/sys/kern/kern_resource.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* Remove kernel support for M:N threading.Jeff Roberson2008-03-121-2/+0
* Don't zero td_runtime when billing thread CPU usage to the process;Robert Watson2008-01-101-3/+3
* Fix LOR of thread lock and umtx's priority propagation mutex dueDavid Xu2007-12-111-1/+8
* - Use ruxagg() in calcru() to make sure we have current tick informationJeff Roberson2007-07-171-0/+8
* Fix a couple of issues with the stack limit for 32-bit processes on 64-bitJohn Baldwin2007-07-121-8/+12
* Remove the restriction that rtprio(2) cannot be used to set the realtimeRobert Watson2007-06-141-17/+8
* Eliminate now-unused SUSER_ALLOWJAIL arguments to priv_check_cred(); inRobert Watson2007-06-121-2/+1
* rufetch and calcru sometimes should be called atomically together.Attilio Rao2007-06-091-13/+21
* The current rusage code show peculiar problems:Attilio Rao2007-06-091-6/+3
* Commit 14/14 of sched_lock decomposition.Jeff Roberson2007-06-051-24/+33
* - Move rusage from being per-process in struct pstats to per-thread inJeff Roberson2007-06-011-22/+103
* Universally adopt most conventional spelling of acquire.Robert Watson2007-05-271-1/+1
* Rework the support for ABIs to override resource limits (used by 32-bitJohn Baldwin2007-05-141-6/+4
* Further system call comment cleanup:Robert Watson2007-03-051-3/+0
* Remove 'MPSAFE' annotations from the comments above most system calls: allRobert Watson2007-03-041-25/+0
* Close race conditions between fork() and [sg]etpriority()'sXin LI2007-02-261-0/+3
* Use priv_check(9) instead of suser(9) for checking the privilege toRobert Watson2007-02-191-1/+1
* Use FOREACH_PROC_IN_SYSTEM instead of using its unrolled form.Xin LI2007-01-171-1/+1
* Threading cleanup.. part 2 of several.Julian Elischer2006-12-061-89/+0
* Use scheduler API sched_user_prio() to adjust thread's userland priority,David Xu2006-11-201-12/+15
* Sweep kernel replacing suser(9) calls with priv(9) calls, assigningRobert Watson2006-11-061-3/+5
* Make KSE a kernel option, turned on by default in all GENERICJohn Birrell2006-10-261-0/+86
* Replace system call thr_getscheduler, thr_setscheduler, thr_setschedparamDavid Xu2006-09-211-0/+95
* Commit the results of the typo hunt by Darren Pilgrim.Yaroslav Tykhiy2006-08-041-1/+1
* Go over calcru and friends once more.Poul-Henning Kamp2006-03-111-47/+48
* Add slop to "backwards" cpu accounting messages, 3 usec or 1% whicheverPoul-Henning Kamp2006-03-091-1/+5
* Various style and comment fixes.John Baldwin2006-02-221-8/+7
* Split calcru() back into a calcru1() function shared with calccru() andJohn Baldwin2006-02-211-10/+33
* CPU time accounting speedup (step 2)Poul-Henning Kamp2006-02-111-68/+45
* Modify the way we account for CPU time spent (step 1)Poul-Henning Kamp2006-02-071-9/+12
* Back out changes made in rev. 1.151.Stephan Uphoff2006-01-251-1/+1
* Hopefully fix the "calcru: runtime went backwards from ..." problem byStephan Uphoff2006-01-231-1/+1
* Calling setrlimit from 32bit apps could potentially increase certainPaul Saab2005-11-021-0/+7
* Use the reference count API to manage the reference counts for processJohn Baldwin2005-09-271-11/+4
* Giant is no longer required in kern_setrlimit(); remove its acquisition andAlan Cox2005-06-011-2/+0
* Stop explicitly touching td_base_pri outside of the scheduler and simplyJohn Baldwin2004-12-301-1/+0
* Rework how we store process times in the kernel such that we always storeJohn Baldwin2004-10-051-79/+113
* A modest collection of various and sundry style, spelling, and whitespaceJohn Baldwin2004-09-241-38/+33
* Various small style fixes.John Baldwin2004-09-221-2/+4