summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_mmap.c
AgeCommit message (Expand)Author
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
2006-04-04Revert r1.58, I was on drugs - the array we are locking is one byte perMiod Vallat
2006-03-16In sys_mincore(), pass a size in bytes, not pages, to uvm_vslock() andMiod Vallat
2005-06-01use vm_dused for rlimit. much happier with mmap. tested by severalTed Unangst
2005-05-24add a new field to vm_space and use it to track the number of anonTed Unangst
2005-01-15In uvm_mmap(), check for size wrap to 0, and return ENOMEM in thatOtto Moerbeek
2004-05-07align to __LDPGSZ for anon mmap. this allows userland to be compiledTed Unangst
2003-09-02add a random offset to uvm_map_hint. this has the primary effect ofTed Unangst
2003-09-01match syscallargs comments with realityHenning Brauer
2003-08-15change arguments to suser. suser now takes the process, and a flagsTed Unangst
2003-08-06Remove some double semicolons (hmm, do two semis equal a maxi?).Todd C. Miller
2003-07-21enforce restrictions on prot and flags to mprotect and mmap. invalid orTed Unangst
2003-07-01add MAP_TRYFIXED, mostly to help emulate other systems.Ted Unangst
2003-07-01remove sys_omquery. it was only used for two weeks, and you can'tTed Unangst
2003-05-17Typos; from Julien Bordet <zejames@greyhats.org>Alexander Yurchenko
2003-04-28Change mquery() function call signature to be the same a mmap(). ItDale Rahn
2003-04-25backout mquery change, something broke when not combined with a different diff.Dale Rahn
2003-04-25change mquery() function call signature to be the same a mmap(). ItDale Rahn
2003-04-18Return EINVAL if MAP_FIXED was specified but was not available. ok tedu@Dale Rahn