summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_mmap.c
AgeCommit message (Expand)Author
2015-05-07Pass a thread pointer instead of its file descriptor table to getvnode(9).Martin Pieuchot
2015-03-30Extend uvm_map_hint() to get an address range as extra arguments, and makeMiod Vallat
2015-02-13Include sys/stdint.h for SIZE_MAX instead of relying on the misplacedTodd C. Miller
2015-02-07recombine some of the split uvm_mmap functions. the precondition checksTed Unangst
2015-02-06-Split out uvm_mmap and uvm_map into a version for anon's and a versionBob Beck
2014-12-17Prefer MADV_* over POSIX_MADV_* in kernel for consistency: the latterPhilip Guenther
2014-12-16primary change: move uvm_vnode out of vnode, keeping only a pointer.Ted Unangst
2014-12-15Use MAP_INHERIT_* for the 'inh' argument to the UMV_MAPFLAG() macro,Philip Guenther
2014-12-09Sprinkle in a little more mallocarray().Doug Hogan
2014-11-16Replace a plethora of historical protection options with justTheo de Raadt
2014-10-03Introduce __MAP_NOFAULT, a mmap(2) flag that makes sure a mapping will notMark Kettenis
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-08bye bye UBC; ok beck dlgTheo de Raadt
2014-07-02Use real parameter types for u{dv,vn}_attach() instead of void *Matthew Dempsky
2014-06-27Cleanup support for legacy mmap flagsMatthew Dempsky
2014-04-13compress code by turning four line comments into one line comments.Ted Unangst
2013-05-30remove lots of comments about locking per beck's requestTed Unangst
2013-05-30remove simple_locks from uvm code. ok beck deraadtTed Unangst
2012-07-21Add a new mmap(2) flag __MAP_NOREMAP for use with MAP_FIXED toMatthew Dempsky
2012-04-22Add struct proc * argument to FRELE() and FILE_SET_MATURE() inPhilip Guenthe
2012-04-10Return EINVAL on 0-byte mmap invocation.Ariane van der Steldt
2012-03-09New vmmap implementation.Ariane van der Steldt
2011-07-09More syscalls.master cleanup:Matthew Dempsky
2011-07-05msync has some code that is based on *old* bsd behaviour whereOwain Ainsworth
2011-07-04move the specfs code to a place people can see it; ok guenther thib krwTheo de Raadt
2011-06-06Backout vmmap in order to repair virtual address selection algorithmsAriane van der Steldt
2011-05-24Reimplement uvm/uvm_map.Ariane van der Steldt
2010-12-24add a param to uvm_map_hint to not skip over the heap, and use it as a lastTed Unangst
2010-12-15add a BRKSIZ define and use it for the heap gap constant, decouplingTed Unangst
2010-05-21Fix a locking problem in mincore where it was possible for us to sleepOwain Ainsworth
2009-07-25Add an extra argument to uvm_unmap_remove(), for the caller to tell itMiod Vallat
2009-07-22Put the PG_RELEASED changes diff back in.Owain Ainsworth
2009-07-09Remove the VREF() macro and replaces all instances with a call to verf(),Thordur I. Bjornsson
2009-06-17date based reversion of uvm to the 4th May.Owain Ainsworth
2009-06-16Backout all changes to uvm after pmemrange (which will be backed outOwain Ainsworth
2009-06-01Deal with wraparound when checking RLIMIT_DATA.Todd C. Miller
2009-06-01Since we've now cleared up a lot of the PG_RELEASED setting, remove theOwain Ainsworth
2009-03-20While working on some stuff in uvm I've gotten REALLY sick of readingOwain Ainsworth
2008-11-10vm_map_lock() around calls to uvm_map_findspace(); ok teduTheo de Raadt
2007-09-01replace the machine dependant bytes-to-clicks macro by the MI ptoa()Martin Reindl
2007-06-18Bring back Mickey's UVM anon change. Testing by thib@, beck@ andPedro Martelletto
2007-05-31zap the vm_amap am_l simplelock, and amap_{lock/unlock} macros forThordur I. Bjornsson
2007-03-27Clean up some return value handling now that we know that what's returnedArtur Grabowski
2007-03-26Rip out the KERN_ error codes.Artur Grabowski
2007-03-25remove KERN_SUCCESS and use 0 instead.Artur Grabowski
2007-02-25Make integer wrap checks the same for mmap, munmap, msync, etcTodd C. Miller
2006-07-13Back out the anon change. Apparently it was tested by a few, but most ofTheo de Raadt
2006-06-29fallout from previous: remmapping anonymous memory did not account dsize prop...Michael Shalayeff
2006-06-21from netbsd: make anons dynamically allocated from pool.Michael Shalayeff
2006-04-06Fix a process datasize leak with MAP_FIXED. When zapping old mappingsKurt Miller