summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_map.c
AgeCommit message (Expand)Author
2021-12-21Fix a typo in mlock(2) error path triggering a double-free.Martin Pieuchot
2021-12-15Use a per-UVM object lock to serialize the lower part of the fault handler.Martin Pieuchot
2021-12-07uvm_map_inentry() is provided a format string that says "inside", but thenTheo de Raadt
2021-10-24Move pmap_{,k}remove() inside uvm_km_pgremove{,_intrsafe}().Martin Pieuchot
2021-10-05Unref/free amaps before grabbing the KERNEL_LOCK().Martin Pieuchot
2021-06-17Revert previous: unref of amap outside of the KERNEL_LOCK().Martin Pieuchot
2021-06-15Unref/free amaps before grabbing the KERNEL_LOCK().Martin Pieuchot
2021-05-22Use atomic operations for reference counting VM maps.Martin Pieuchot
2021-03-26Remove parenthesis around return value to reduce the diff with NetBSD.Martin Pieuchot
2021-03-12spellingJonathan Gray
2021-03-05ansiJonathan Gray
2021-02-23remove unused uvm_mapent_bias()Jonathan Gray
2021-01-19(re)Introduce locking for amaps & anons.Martin Pieuchot
2020-10-19Serialize accesses to "struct vmspace" and document its refcounting.Martin Pieuchot
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