summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_swap.c
AgeCommit message (Expand)Author
2015-11-01refactor pledge_*_check and pledge_fail functionsSebastien Marie
2015-10-23Add 3 new pledge requests. "ps" exposes enough sysctl information forTheo de Raadt
2015-09-06sizes for free(); ok semarieTheo de Raadt
2015-08-23"XXXMRG: consider making it an inline or macro"Theo de Raadt
2015-05-04reduce the scope of things that include uvm_swap_encrypt.h.David Gwynne
2015-01-27remove the second void * argument on tasks.David Gwynne
2015-01-13pass the vnd xfer pointer to the tasks callback as part of theDavid Gwynne
2014-12-23I don't like these macros, they obscure the code.Ted Unangst
2014-11-18move arc4random prototype to systm.h. more appropriate for most codeTed Unangst
2014-11-17convert a copystr to strlcpy.Ted Unangst
2014-11-13sizes for simple frees. new diff without the bug spotted by deraadtTed Unangst
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-05-08Fix some potential integer overflows caused by converting a page number intoMark Kettenis
2014-04-29Replace 1 << PAGE_SHIFT with PAGE_SIZE.Mark Kettenis
2014-04-13compress code by turning four line comments into one line comments.Ted Unangst
2013-11-24Replace the swapdev CIRCLEQ with a TAILQ and replace the manually rolledJoel Sing
2013-11-21remove the #define b_cylinder b_resid from bufs. i hated theDavid Gwynne
2013-11-20Update comments mentioning `resource maps' to mention `extents' instead.Miod Vallat
2013-11-06remove some abuse of bufqs where they were overloaded to store workq_tasksDavid Gwynne
2013-11-05new function uvm_hibswap() finds a the largest free zone in swap, whichTheo de Raadt
2013-11-04If compiled for hibernate, reserve the last page of the primary swapTheo de Raadt
2013-11-04improve a panic messageTheo de Raadt
2013-11-02fix some commentsTheo de Raadt
2013-11-02No need to cast constants or simple variables to (daddr_t). UseKenneth R Westerback
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughTheo de Raadt
2013-05-30remove simple_locks from uvm code. ok beck deraadtTed Unangst
2013-05-03fix mem leak in swapmountFlorian Obser
2013-04-17Unbreak and cleanup diskless swap automount.Florian Obser
2013-03-28do not copy additional kernel memory into the swapent.se_path[]Theo de Raadt
2012-09-20Now that none of our installation media runs off the swap area, don't botherMiod Vallat
2012-07-12Three cases that should be failures, not successes when checking for availMike Larkin
2012-07-11#ifdef the uvm swap checker fn for hibernate only, to save space in kernelsMike Larkin
2012-07-11add a check for the total size of swap, abort if too small.Mike Larkin
2012-07-11add uvm_swap_check_range to scan for contig free space at end of swap.Mike Larkin
2012-06-14whitespace cleanupJasper Lievisse Adriaanse
2011-07-04move the specfs code to a place people can see it; ok guenther thib krwTheo de Raadt
2011-07-03Rip out and burn support for UVM_HIST.Owain Ainsworth
2011-04-17construct a better path to the swapdevice (as seen in pstat/swapctl output)Theo de Raadt
2011-04-04Disallow swapping to vnd's and return ENOTSUPP backThordur I. Bjornsson
2010-12-21Bring back the "End the VOP experiment." diff, naddy's issues whereThordur I. Bjornsson
2010-12-04Teach swapctl(2) about DUIDs.Joel Sing
2010-09-26remove static so things show up in ddb.Thordur I. Bjornsson
2010-09-10Backout the VOP diff until the issues naddy was seeing on alpha (gcc3)Thordur I. Bjornsson
2010-09-06End the VOP experiment. Instead of the ridicolusly complicated operationThordur I. Bjornsson
2010-09-06cut swapping to file over from disksort to bufq fifo's andThordur I. Bjornsson
2010-07-03Be sure to initialize b_bq member of struct buf not allocated through theMiod Vallat
2010-07-01Allow swapping to happen in the case where where we have more memoryOwain Ainsworth
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-04don't grab the lock just to read uvmexp.free.Owain Ainsworth