summaryrefslogtreecommitdiff
path: root/sys/uvm
AgeCommit message (Expand)Author
2019-07-18R.I.P. UVM_WAIT(). Use tsleep_nsec(9) directly.cheloha
2019-07-03Add tsleep_nsec(9), msleep_nsec(9), and rwsleep_nsec(9).cheloha
2019-07-01Document which mechanism protect some fields used w/o KERNEL_LOCK().Martin Pieuchot
2019-06-21Make resource limit access MP-safe. So far, the copy-on-write sharingVisa Hankala
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-05-15free size for amap; ok visa@anton
2019-05-11move the noise about W^X mapping failure inside the sysctl kern.wxabortTheo de Raadt
2019-05-10simplify logic after wakeup since this variable is only manipulatedBob Beck
2019-05-10Check for nowait failed *after* the wakeup point, not before.Bob Beck
2019-05-09Ensure that pagedaemon wakeups as a result of failed UVM_PLA_NOWAITBob Beck
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