summaryrefslogtreecommitdiff
path: root/sys/uvm
AgeCommit message (Expand)Author
2019-04-23Remove file name and line number output from witness(4)Visa Hankala
2019-04-02Restrict which filesystems are available for swap. This rules outVisa Hankala
2019-04-02BOGO_PC is an invalid userland address, which indicates kbind() is nowTheo de Raadt
2019-03-01New mmap(2) flag: MAP_CONCEAL.cheloha
2019-02-26Introduce safe memory reclamation, a mechanism for reclaiming sharedVisa Hankala
2019-02-22at some point the uvm_km_thread learned to free memory, but the commentTed Unangst
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
2019-02-03Always refault if relocking maps fails after IO. This fixes a regressionVisa Hankala
2019-01-11mincore() is a relic from the past, exposing physical machine informationTheo de Raadt
2019-01-10Make mincore lie. The nature of shared memory means it can spy on whatTed Unangst
2019-01-10Hold a read lock on the map while doing the actual device I/O during inMark Kettenis
2018-11-06new sysctl for userland malloc flags, kernel part. ok millert@ deraadt@Otto Moerbeek
2018-10-31Add support to uvm to establish write-combining mappings. Use this in theMark Kettenis
2018-08-20Preparations for arm64 radeondrm(4) support.Mark Kettenis
2018-08-15Push back the kernel lock in sys_mmap(2) a little bit more now thatMark Kettenis
2018-07-22In uvm_map_protect(), make sure we select a first map entry that ends afterMark Kettenis
2018-07-16Insert the appropriate uvm_vnp_uncache(9) and uvm_vnp_setsize(9)helg
2018-06-19Rename some unused fields in struct uvmexp toKenneth R Westerback
2018-05-16Avoid overflow in constraint computation; ok kettenis@ tb@Otto Moerbeek
2018-05-12Re-apply inadvertantly misplaced r1.127 from kettenis@:Kenneth R Westerback
2018-05-02Remove proc from the parameters of vn_lock(). The parameter isVisa Hankala
2018-04-28Clean up the parameters of VOP_LOCK() and VOP_UNLOCK(). It is alwaysVisa Hankala
2018-04-27Move FREF() inside fd_getfile().Martin Pieuchot
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
2018-04-10Fix stop condition for linear search by taking into account the searchOtto Moerbeek
2018-03-30Unlock the NET_LOCK() before calling vn_lock(9) to avoid a lock orderingMartin Pieuchot
2018-03-27Make sure that programs violating a pledge(2) promise or some memoryMartin Pieuchot
2018-03-08When we are rebooting, do not fail in uvn_io(). The vnodes areAlexander Bluhm
2018-02-19Remove almost unused `flags' argument of suser().Martin Pieuchot
2018-02-11Can mask MAP_STACK by name rather than numberTheo de Raadt
2018-01-18While booting it does not make sense to wait for memory, there isAlexander Bluhm
2018-01-15mask out (ie. ignore) the bit which will be MAP_STACK in the future,Theo de Raadt
2018-01-02Stop assuming <sys/file.h> will pull in fcntl.h when _KERNEL is defined.Philip Guenther
2017-12-30Don't pull in <sys/file.h> just to get fcntl.hPhilip Guenther
2017-11-30__MAP_NOFAULT doesn't make sense with anon mappings, so return EINVAL ifPhilip Guenther
2017-08-12Use the NET_LOCK() macro instead of handrolling it.Martin Pieuchot
2017-08-12In the locking wrappers for &map->lock and &map->mtx, pass through file+linePhilip Guenther
2017-07-20Accessing a mmap(2)ed file behind its end should result in a SIGBUSAlexander Bluhm
2017-05-21Enable radeondrm(4) on loongson to get accelerated graphicsVisa Hankala
2017-05-17Raise "uvm_map_entry_kmem_pool" IPL level to IPL_VM to prevent a deadlock.Martin Pieuchot
2017-05-15Enable the NET_LOCK(), take 3.Martin Pieuchot
2017-05-11unbreak PMAP_DIRECT archs.David Gwynne
2017-05-11reorder uvm init to avoid use before initialisation.David Gwynne
2017-05-09Stop considering some sleeping threads are running.Martin Pieuchot
2017-05-08Unifed PMAP_UAREA, unused since we stopped supporting ARM < v7.Martin Pieuchot
2017-05-03Mark uvm_sync_lock as vnode'ish for witness purposes, as it is takenPhilip Guenther