summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_km.c
AgeCommit message (Expand)Author
2021-05-16panic does not require a \n at the end. When one is provided, it looks wrong.Theo de Raadt
2021-03-26Remove parenthesis around return value to reduce the diff with NetBSD.Martin Pieuchot
2021-03-20Sync some comments in order to reduce the difference with NetBSD.Martin Pieuchot
2021-03-12spellingJonathan Gray
2021-03-04Modify `uvmexp.swpgonly' atomically, required for uvm_fault() w/o KERNEL_LOCK()Martin Pieuchot
2020-12-15Remove the assertion in uvm_km_pgremove().Martin Pieuchot
2020-12-14Grab the KERNEL_LOCK() or ensure it's held when poking at swap data structures.Martin Pieuchot
2020-05-23Prevent km_alloc() from returning garbage if pagelist is empty.jan
2020-02-18Cleanup <sys/kthread.h> and <sys/proc.h> includes.Martin Pieuchot
2019-12-30convert infinite msleep(9) to msleep_nsec(9)Jonathan Gray
2019-12-18Set vm_map's pmap in uvm_map_setup().Visa Hankala
2019-12-08Convert infinite sleeps to {m,t}sleep_nsec(9).Martin Pieuchot
2019-07-18R.I.P. UVM_WAIT(). Use tsleep_nsec(9) directly.cheloha
2019-02-22at some point the uvm_km_thread learned to free memory, but the commentTed Unangst
2017-05-11unbreak PMAP_DIRECT archs.David Gwynne
2017-05-11reorder uvm init to avoid use before initialisation.David Gwynne
2015-09-26Protect the list of free map entries with a mutex. This should fix theMark Kettenis
2015-09-17Back out rev. 1.125. This bit was left behind (intentionally?) when theMark Kettenis
2015-02-07Introduce VM_KERNEL_SPACE_SIZE as a replacement forMiod Vallat
2015-02-06Clear PQ_AOBJ before calling uvm_pagefree(), clearing up one false XXXTheo de Raadt
2015-01-23Make km_alloc(9) use the direct map for all "phys contig" mappings requestedMark Kettenis
2014-12-17Prefer MADV_* over POSIX_MADV_* in kernel for consistency: the latterPhilip Guenther
2014-12-15Use MAP_INHERIT_* for the 'inh' argument to the UMV_MAPFLAG() macro,Philip Guenther
2014-11-27The sti(4) driver copies its ROM into kernel memory and executes the codeMark Kettenis
2014-11-21Kill kv_executable flag. We no longer allow requests for PROT_EXECTheo de Raadt
2014-11-17More cases of kernel map entries being created as EXEC by default; notTheo de Raadt
2014-11-17There is no reason for uvm_km_alloc1() to allocate kernel memoryTheo de Raadt
2014-11-16Replace a plethora of historical protection options with justTheo de Raadt
2014-11-13bzero -> memsetTed Unangst
2014-09-14remove uneeded proc.h includesJonathan Gray
2014-07-11Chuck Cranor rescinded clauses in his licenseJonathan Gray
2014-06-21Make sure kmthread never loops without making progress: if the freelistPhilip Guenther
2014-04-13compress code by turning four line comments into one line comments.Ted Unangst
2013-05-30in the brave new world of void *, we don't need caddr_t castsTed Unangst
2013-05-30UVM_UNLOCK_AND_WAIT no longer unlocks, so rename it to UVM_WAIT.Ted Unangst
2013-05-30remove simple_locks from uvm code. ok beck deraadtTed Unangst
2012-11-10Number of swap pages in use must be smaller than tha total number of swapMark Kettenis
2012-03-09New vmmap implementation.Ariane van der Steldt
2011-07-03Rip out and burn support for UVM_HIST.Owain Ainsworth
2011-06-23Don't bother checking for an empty queue before calling uvm_pglistfree.Owain Ainsworth
2011-06-23Make mbufs and dma_alloc be contig allocations.Ariane van der Steldt
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
2011-05-10Don't leak swapslots when doing a uvm_km_pgremove and a page is in swap only.Owain Ainsworth
2011-04-23Fix management of the list of free uvm_km_pages. Seems art@ lost a lineMark Kettenis
2011-04-19Add missing call to pmap_update() in km_alloc().Matthew Dempsky
2011-04-19Free the correct pages when we failed to allocate va.Artur Grabowski
2011-04-18Put back the change of pool and malloc into the new km_alloc(9) api.Artur Grabowski
2011-04-15unused variable on !PMAP_DIRECTTheo de Raadt
2011-04-15move uvm_pageratop from uvm_pager.c local to a general uvm functionOwain Ainsworth