summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_map.c
AgeCommit message (Expand)Author
2020-09-22Spell inline correctly.Martin Pieuchot
2020-09-14Since the issues with calling uvm_map_inentry_fix() without holding theMark Kettenis
2020-09-12Add tracepoints in the page fault handler and when entries are added to maps.Martin Pieuchot
2020-07-06fix spellingTheo de Raadt
2020-03-25Do not test against NULL a variable which is dereference before that.Martin Pieuchot
2020-03-04Do not count pages mapped as PROT_NONE against the RLIMIT_DATA limit.Mark Kettenis
2019-12-30convert infinite msleep(9) to msleep_nsec(9)Jonathan Gray
2019-12-18Set vm_map's pmap in uvm_map_setup().Visa Hankala
2019-12-18Use separate rwlock initializations for userland ("vmspace") and kernelMark Kettenis
2019-12-12Header cleanup.Martin Pieuchot
2019-12-09Many people have crossed the ABI, so re-enable "syscall call-from" checking.Theo de Raadt
2019-12-09improve comment for uvm_map_inentry_pc(), the underlyingTheo de Raadt
2019-12-04Fix a bad offset calculation in uvm_share.Mike Larkin
2019-12-02Stop supporting UVM_FLAG_TRYLOCK in uvm_mapanon(), it is not used.Martin Pieuchot
2019-11-30temporarily neuter the syscall-callfrom check as a few peopleTheo de Raadt
2019-11-29Repurpose the "syscalls must be on a writeable page" mechanism toTheo de Raadt
2019-11-26Fix a panic string that had the wrong function name and an improperlyMike Larkin
2019-11-26Fix a bunch of lines that had trailing whitespace.Mike Larkin
2019-11-02Revert previous, a race is present and can be triggered with golang.Martin Pieuchot
2019-11-01Push the KERNEL_LOCK() down in uvm_map_inentry().Martin Pieuchot
2019-11-01Keep local function definitions in C files.Martin Pieuchot
2019-09-09Inform about system call memory write protection and stack mappingAlexander Bluhm
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