summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_map.c
AgeCommit message (Expand)Author
2019-06-14The addition of writeable-syscall checking near MAP_STACK checkingTheo de Raadt
2019-06-01Refactor the MAP_STACK feature, and introduce another similar variation:Theo de Raadt
2019-05-16Handle a bit more work without taking the kernel lock. This should avoidMark Kettenis
2019-04-23Remove file name and line number output from witness(4)Visa Hankala
2019-03-01New mmap(2) flag: MAP_CONCEAL.cheloha
2019-02-15With an opportunistic check performed at every trap, we insist userlandTheo de Raadt
2019-02-10"non-existant" is one of those words that don't exist, so use "non-existent"Peter Hessler
2018-10-31Add support to uvm to establish write-combining mappings. Use this in theMark Kettenis
2018-07-22In uvm_map_protect(), make sure we select a first map entry that ends afterMark Kettenis
2018-04-18Some programs create a PROT_NONE guard page at the far-end of the providedTheo de Raadt
2018-04-17- Make rnd hints avoid the brk area. The rnd allocator refuses to allocate inOtto Moerbeek
2018-04-17Remove protection checks from uvm_map_is_stack_remappableStefan Kempf
2018-04-12Implement MAP_STACK option for mmap(). Synchronous faults (pagefault andTheo de Raadt
2017-11-30__MAP_NOFAULT doesn't make sense with anon mappings, so return EINVAL ifPhilip Guenther
2017-08-12In the locking wrappers for &map->lock and &map->mtx, pass through file+linePhilip Guenther
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