summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_amap.c
AgeCommit message (Expand)Author
2021-08-30Fix a locking assertion in error path.Martin Pieuchot
2021-03-26Remove parenthesis around return value to reduce the diff with NetBSD.Martin Pieuchot
2021-03-20Sync some comments in order to reduce the difference with NetBSD.Martin Pieuchot
2021-01-19(re)Introduce locking for amaps & anons.Martin Pieuchot
2020-11-13Introduce amap_adjref_anons() an helper to reference count amaps.Martin Pieuchot
2020-10-12Use KASSERT() instead of if(x) panic() for NULL dereference checks.Martin Pieuchot
2020-09-25Use KASSERT() instead of if(x) panic() for sanity checks.Martin Pieuchot
2020-09-22Spell inline correctly.Martin Pieuchot
2020-01-04Add uvm_anfree_list() to free anons as a list of pages. Use this inBob Beck
2019-07-18R.I.P. UVM_WAIT(). Use tsleep_nsec(9) directly.cheloha
2019-05-15free size for amap; ok visa@anton
2017-01-31Sprinkle some free sizes in uvm/David Hill
2016-10-08Prevent infinite loops for amap allocations with >= 2^17 slotsStefan Kempf
2016-09-15all pools have their ipl set via pool_setipl, so fold it into pool_init.David Gwynne
2016-07-27check flags with mask instead of equality, in case we decide to mixTed Unangst
2016-07-14Make sure that amap slot calculation does not overflowStefan Kempf
2016-07-11Make sure variables are used initialized in amap_wiperangeStefan Kempf
2016-07-09Fix bugs introduced with the amap reworkStefan Kempf
2016-06-17pool_setipl on all uvm pools.David Gwynne
2016-05-26Make amaps use less kernel memory (2nd try)Stefan Kempf
2016-05-22Revert previous: breaks i386 and powerpc, probably all non-PMAP_DIRECT archsPhilip Guenther
2016-05-22Make amaps use less kernel memoryStefan Kempf
2016-05-08Additional parameter for amap_alloc().Stefan Kempf
2016-05-08Wait for RAM in uvm_fault when allocating uvm structures failsStefan Kempf
2016-04-16Remove am_maxslot from amap.Stefan Kempf
2016-04-12Simplify amap traversal in amap_swap_off.Stefan Kempf
2016-04-04UVM_FLAG_AMAPPAD has no effect anymore, nuke it.Stefan Kempf
2016-03-27amap_extend is never called, remove it.Stefan Kempf
2016-03-16Remove redundant check.Stefan Kempf
2016-03-15For amaps with only a few slots, allocate the slots via pool(9)Stefan Kempf
2016-03-06Remove unused amap_share_protect().Stefan Kempf
2015-08-21Remove the unused loan_count field and the related uvm logic. Most ofVisa Hankala
2014-12-23convert pool_init nointr to waitokTed Unangst
2014-12-17remove lock.h from uvm_extern.h. another holdover from the simpletonlockTed Unangst
2014-12-09Sprinkle in a little more mallocarray().Doug Hogan
2014-11-16Replace a plethora of historical protection options with justTheo de Raadt
2014-09-14remove uneeded proc.h includesJonathan Gray
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-11Chuck Cranor rescinded clauses in his licenseJonathan Gray
2014-04-13compress code by turning four line comments into one line comments.Ted Unangst
2013-05-30UVM_UNLOCK_AND_WAIT no longer unlocks, so rename it to UVM_WAIT.Ted Unangst
2013-05-30remove lots of comments about locking per beck's requestTed Unangst
2013-05-30remove simple_locks from uvm code. ok beck deraadtTed Unangst
2013-05-23the simplelock is a lieTed Unangst
2011-07-03Rip out and burn support for UVM_HIST.Owain Ainsworth
2010-07-03explicitly specify flags to malloc and pool_get instead of relying on 0.Ted Unangst
2009-03-25Move all of the pseudo-inline functions in uvm into C files.Owain Ainsworth
2008-10-08Don't extend amaps beyond what their supposed maximum. This code path isArtur Grabowski
2008-09-12less waste for amaps in the common case:Otto Moerbeek
2008-08-26Plug potential memory leak.Mark Kettenis