summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_resource.c
Commit message (Expand)AuthorAgeFilesLines
* We've already set p = td->td_proc, so use it.emaste2010-10-181-4/+4
* Create a global thread hash table to speed up thread lookup, usedavidxu2010-10-091-23/+13
* Revert r210225 - turns out I was wrong; the "/*-" is not license-onlytrasz2010-07-181-1/+1
* The "/*-" comment marker is supposed to denote copyrights. Remove non-copyrighttrasz2010-07-181-1/+1
* Remove outdated comment and move part of it into more applicable place.trasz2010-07-181-5/+0
* Use ISO C99 integer types in sys/kern where possible.ed2010-06-211-1/+1
* Fix the double counting of the last process thread td_incruntimekib2010-05-241-3/+3
* Implement RUSAGE_THREAD. Add td_rux to keep extended runtime and tickskib2010-05-041-11/+22
* Extract thread_lock()/ruxagg()/thread_unlock() fragment into utilitykib2010-05-011-13/+14
* sched_getparam was just plain broke for time-sharerrs2010-03-031-2/+8
* Implement global and per-uid accounting of the anonymous memory. Addkib2009-06-231-0/+6
* Don't rearm callout if the process is exiting, it may leak a calloutdavidxu2008-10-241-1/+2
* Retire the MALLOC and FREE macros. They are an abomination unto style(9).des2008-10-231-1/+1
* Fix a small typo in a comment in calcru1().ed2008-09-051-1/+1
* Integrate the new MPSAFE TTY layer to the FreeBSD operating system.ed2008-08-201-0/+25
* Remove extra uihold() call that accidentally sneak in during perforcepjd2008-03-191-1/+0
* - Relax requirements for p_numthreads, p_threads, p_swtick, and p_nice fromjeff2008-03-191-16/+4
* Whitespace cleanups.pjd2008-03-161-7/+7
* - Use wait-free method to manage ui_sbsize and ui_proccnt fields in thepjd2008-03-161-58/+48
* Style fixes.pjd2008-03-161-11/+7
* Fix information leak. We can find PIDs of running processes from withinpjd2008-03-161-1/+2
* Remove kernel support for M:N threading.jeff2008-03-121-2/+0
* Don't zero td_runtime when billing thread CPU usage to the process;rwatson2008-01-101-3/+3
* Fix LOR of thread lock and umtx's priority propagation mutex duedavidxu2007-12-111-1/+8
* - Use ruxagg() in calcru() to make sure we have current tick informationjeff2007-07-171-0/+8
* Fix a couple of issues with the stack limit for 32-bit processes on 64-bitjhb2007-07-121-8/+12
* Remove the restriction that rtprio(2) cannot be used to set the realtimerwatson2007-06-141-17/+8
* Eliminate now-unused SUSER_ALLOWJAIL arguments to priv_check_cred(); inrwatson2007-06-121-2/+1
* rufetch and calcru sometimes should be called atomically together.attilio2007-06-091-13/+21
* The current rusage code show peculiar problems:attilio2007-06-091-6/+3
* Commit 14/14 of sched_lock decomposition.jeff2007-06-051-24/+33
* - Move rusage from being per-process in struct pstats to per-thread injeff2007-06-011-22/+103
* Universally adopt most conventional spelling of acquire.rwatson2007-05-271-1/+1
* Rework the support for ABIs to override resource limits (used by 32-bitjhb2007-05-141-6/+4
* Further system call comment cleanup:rwatson2007-03-051-3/+0
* Remove 'MPSAFE' annotations from the comments above most system calls: allrwatson2007-03-041-25/+0
* Close race conditions between fork() and [sg]etpriority()'sdelphij2007-02-261-0/+3
* Use priv_check(9) instead of suser(9) for checking the privilege torwatson2007-02-191-1/+1
* Use FOREACH_PROC_IN_SYSTEM instead of using its unrolled form.delphij2007-01-171-1/+1
* Threading cleanup.. part 2 of several.julian2006-12-061-89/+0
* Use scheduler API sched_user_prio() to adjust thread's userland priority,davidxu2006-11-201-12/+15
* Sweep kernel replacing suser(9) calls with priv(9) calls, assigningrwatson2006-11-061-3/+5
* Make KSE a kernel option, turned on by default in all GENERICjb2006-10-261-0/+86
* Replace system call thr_getscheduler, thr_setscheduler, thr_setschedparamdavidxu2006-09-211-0/+95
* Commit the results of the typo hunt by Darren Pilgrim.yar2006-08-041-1/+1
* Go over calcru and friends once more.phk2006-03-111-47/+48
* Add slop to "backwards" cpu accounting messages, 3 usec or 1% whicheverphk2006-03-091-1/+5
* Various style and comment fixes.jhb2006-02-221-8/+7
* Split calcru() back into a calcru1() function shared with calccru() andjhb2006-02-211-10/+33
* CPU time accounting speedup (step 2)phk2006-02-111-68/+45
OpenPOWER on IntegriCloud