summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_map.c
AgeCommit message (Expand)Author
2017-05-17Raise "uvm_map_entry_kmem_pool" IPL level to IPL_VM to prevent a deadlock.Martin Pieuchot
2017-04-20Tweak lock inits to make the system runnable with witness(4)Visa Hankala
2017-02-14Convert most of the manual checks for CPU hogging to sched_pause().Martin Pieuchot
2017-02-05Delete comment obsoleted by the rewrite in rev 1.136 (2011-05-24)Philip Guenther
2017-01-17Remove uaddr_hint allocatorStefan Kempf
2016-11-07Split PID from TID, giving processes a PID unrelated to the TID of theirPhilip Guenther
2016-09-16move the vm_page struct from being stored in RB macro trees to RBT functionsDavid Gwynne
2016-09-16move the uvm_map_addr RB tree from RB macros to the RBT functionsDavid Gwynne
2016-09-15all pools have their ipl set via pool_setipl, so fold it into pool_init.David Gwynne
2016-09-03Only use uaddr_exe for address selection when PROT_EXEC is requestedStefan Kempf
2016-08-31Simplify arguments to uaddr_*_create functionsStefan Kempf
2016-08-11replace abuse of the static map entries RB_ENTRY pointers with an SLISTDavid Gwynne
2016-07-30Check for wraparound before the "commit" phase of uvm_map() and uvm_mapanon(),Mark Kettenis
2016-07-29add a check that the arguments to isavail don't overflow.Ted Unangst
2016-06-17pool_setipl on all uvm pools.David Gwynne
2016-06-13In uvm_map(), call uvm_unmap_detach_intrsafe() if we have an interrupt-safeMark Kettenis
2016-06-05Add uvm_share() to share a memory range between two address spacesStefan Kempf
2016-06-03We should never decrease uvm_maxkaddr. Currently this may happen ifMark Kettenis
2016-05-08Additional parameter for amap_alloc().Stefan Kempf
2016-05-05Remove uvm_mapentry_freecmp which has been unused for yearsStefan 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-15'accomodate' -> 'accommodate' in comments.Kenneth R Westerback
2016-03-09remove vaxismsTheo de Raadt
2016-03-06Tweak uvm assertions to avoid locking in some cases.Stefan Kempf
2016-03-03Remove option USER_LDT and everything depending on it.Christian Weisgerber
2015-12-16Avoid grabbing the kernel lock in uvm_unmap() if we have an interrupt-safeMark Kettenis
2015-11-14mutli -> multiMiod Vallat
2015-11-11Remove the superfluous typedef uvm_flag_t (unsigned int). Also, fix anmmcc
2015-10-01In uvm_map_splitentry(), grab the kernel lock before calling into the amapMark Kettenis
2015-09-28add a flag to indicate to uvm_map that it should unmap to make space.Ted Unangst
2015-09-26Protect the list of free map entries with a mutex. This should fix theMark Kettenis
2015-09-12Enable some diagnostics for interrupt-safe maps that are already happening forMark Kettenis
2015-09-09Add locking for interrupt-safe maps (those that have the VM_MAP_INTRSAFE flagMark Kettenis
2015-09-09All our pmap implementations provide pmap_resident_count(), so removeMiod Vallat
2015-09-01size for free(), and make allocation side look similarTheo de Raadt
2015-08-27After more than a decade it seems safe to conclude that amap_clean works.Mark Kettenis
2015-08-21Remove the unused loan_count field and the related uvm logic. Most ofVisa Hankala
2015-08-19Sync page_flagbits with reality.Visa Hankala
2015-07-17Release the kernel lock while tearing down the uvm map in the reaper. SpeedsMark Kettenis
2015-04-23dont need \n on panic stringsDavid Gwynne
2015-03-30Revert 1.173 (special-casing mips64) now that uvm_map_hint()'s return value isMiod Vallat
2015-03-30Extend uvm_map_hint() to get an address range as extra arguments, and makeMiod Vallat
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-02-19Remove a lie from a comment that ratholed me for an evening.Mike Larkin
2015-02-15Change pmap_remove_holes() to take a vmspace instead of a map as its argument.Miod Vallat
2015-02-09Make sure we actually have an entry before checking its limits.Mark Kettenis
2015-02-06-Split out uvm_mmap and uvm_map into a version for anon's and a versionBob Beck
2015-02-06make vm_map_lock lock when it's supposed to. add mutex to protect flagsTed Unangst
2014-12-23convert nointr pool_init argument to pr_waitokTed Unangst