summaryrefslogtreecommitdiff
path: root/sys/uvm
AgeCommit message (Expand)Author
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
2017-04-30Unifdef KGDB.Martin Pieuchot
2017-04-20Tweak lock inits to make the system runnable with witness(4)Visa Hankala
2017-04-09Convert a malloc(9) to mallocarray(9)David Hill
2017-03-17Revert the NET_LOCK() and bring back pf's contention lock for release.Martin Pieuchot
2017-03-09Don't take the vmmap lock when dumping core: it's not actually necessaryPhilip Guenther
2017-03-05Handle unshared amaps in uvm_coredump_walkmap() such that untouched pagesPhilip Guenther
2017-03-05Generating a coredump requires walking the map twice; changePhilip Guenther
2017-02-14Convert most of the manual checks for CPU hogging to sched_pause().Martin Pieuchot
2017-02-12Split up fork1():Philip Guenther
2017-02-05Update a comment that suggested the stack was executable. Nope!Philip Guenther
2017-02-05Delete comment obsoleted by the rewrite in rev 1.136 (2011-05-24)Philip Guenther
2017-02-02When dumping core, skip pages marked as unreadable instead of abortingPhilip Guenther
2017-01-31Sprinkle some free sizes in uvm/David Hill
2017-01-25Enable the NET_LOCK(), take 2.Martin Pieuchot
2017-01-23Move static function to the bottom of the file, to the only userPatrick Wildt
2017-01-21p_comm is the process's command and isn't per thread, so move it fromPhilip 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-10-19Change pmap_proc_iflush() to take a process instead of a procPhilip Guenther