aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_lockf.c
Commit message (Expand)AuthorAgeFilesLines
* lockf: annotate LOCKF_DEBUG only varMatt Macy2018-05-191-1/+2
* lockf: change the owner hash from pid to vnode-basedMateusz Guzik2018-04-241-6/+4
* lockf: add per-chain locks to the owner hashMateusz Guzik2018-04-231-18/+27
* lockf: skip locking the graph if not necessary (common case)Mateusz Guzik2018-04-231-6/+9
* lockf: perform wakeup onlly when there is anybody waitingMateusz Guzik2018-04-231-1/+2
* lockf: skip the hard work in lf_purgelocks if possibleMateusz Guzik2018-04-231-0/+7
* lockf: free state only when recycling the vnodeMateusz Guzik2018-04-231-71/+50
* lockf: slightly depessimizeMateusz Guzik2018-04-221-4/+4
* sys: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-0/+2
* put very expensive sanity checks of advisory locks under DIAGNOSTICAndriy Gapon2017-01-301-2/+2
* Fix LINT building.Sepherosa Ziehau2016-09-181-2/+4
* Renumber license clauses in sys/kern to avoid skipping #3Ed Maste2016-09-151-1/+1
* When sleeping waiting for either local or remote advisory lock,Konstantin Belousov2016-06-261-1/+3
* sys/kern: spelling fixes in comments.Pedro F. Giffuni2016-04-291-10/+10
* Improve style and fix a possible use-after-free case introduced in r268384Xin LI2015-01-101-1/+2
* Correct the problem reported by test16 fromKonstantin Belousov2014-07-081-1/+9
* Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs.Ed Schouten2011-11-071-1/+1
* In lf_iteratelocks_vnode, increment state->ls_threads around iteratingKonstantin Belousov2009-06-251-1/+10
* Decrement state->ls_threads when vnode appeared to be doomed.Konstantin Belousov2009-06-171-0/+2
* Do not leak the state->ls_lock after VI_DOOMED check introducedKonstantin Belousov2009-06-101-0/+1
* The advisory lock may be activated or activated and removed during theKonstantin Belousov2009-05-241-2/+15
* In lf_purgelocks(), assert that state->ls_pending is empty after weKonstantin Belousov2009-05-241-1/+3
* In lf_advlockasync(), recheck for doomed vnode after the state->ls_lockKonstantin Belousov2009-05-241-2/+17
* Replace the while statement with the if for clarity. The loop bodyKonstantin Belousov2009-05-241-1/+1
* Remove unused variable.Ganbold Tsagaankhuu2008-11-271-2/+1
* Don't rely on the value of *statep without first taking the vnode interlock.Doug Rabson2008-10-241-1/+4
* Re-implement the client side of rpc.lockd in the kernel. This implementationDoug Rabson2008-06-261-26/+110
* When blocking on an F_FLOCK style lock request which is upgrading aDoug Rabson2008-05-091-11/+12
* Fix compilation with LOCKF_DEBUG.Doug Rabson2008-04-161-1/+1
* Move the head of byte-level advisory lock list from theKonstantin Belousov2008-04-161-1/+96
* Don't try to use an SX lock while holding the vnode interlock.Doug Rabson2008-04-011-5/+10
* Add the new kernel-mode NFS Lock Manager. To use it instead of theDoug Rabson2008-03-261-465/+1888
* - Fix the last of the threading bugs that were introduced as far back asJeff Roberson2008-03-191-6/+12
* - Relax requirements for p_numthreads, p_threads, p_swtick, and p_nice fromJeff Roberson2008-03-191-3/+3
* Do not call free() while holding vnode interlock.Konstantin Belousov2007-08-071-27/+44
* - Remove explicit Giant protection from lockf. Use the vnode interlockJeff Roberson2007-07-031-54/+56
* Commit 14/14 of sched_lock decomposition.Jeff Roberson2007-06-051-8/+16
* Print name of device instead of useless major/minor numbers.Poul-Henning Kamp2005-03-291-3/+2
* Fix a debug message to print a usable device name rather than uselessPoul-Henning Kamp2005-03-151-3/+2
* - Make lf_print static and move its prototype into kern_lockf.cJeff Roberson2005-01-251-18/+40
* /* -> /*- for copyright notices, minor format tweaks as necessaryWarner Losh2005-01-061-1/+1
* Remove advertising clause from University of California Regent's license,Warner Losh2004-04-051-4/+0
* Use __FBSDID().David E. O'Brien2003-06-111-1/+3
* Deprecate machine/limits.h in favor of new sys/limits.h.Alexander Kabaev2003-04-291-2/+1
* Including <sys/stdint.h> is (almost?) universally only to be able to usePoul-Henning Kamp2003-03-181-1/+0
* Back out M_* changes, per decision of the TRB.Warner Losh2003-02-191-2/+2
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.Alfred Perlstein2003-01-211-2/+2
* - Fix a bunch of casts to long which were truncating off_t's.Maxime Henrion2002-11-071-17/+15
* Remove a conditional #include <sys/kernel.h>, it is alreadyMaxime Henrion2002-09-141-1/+0
* Add a #include for <sys/mount.h>Poul-Henning Kamp2002-08-131-0/+1