summaryrefslogtreecommitdiff
path: root/sys/kern/subr_hibernate.c
AgeCommit message (Expand)Author
2015-05-04Clarify that hibernate_resume must be called with interrupts enabled.Mike Larkin
2015-02-07Preserve a page's worth of random data on hibernate resume. Used to improveMike Larkin
2015-02-07New framework that allows hibernate to pass in entropy from it's freshTheo de Raadt
2015-02-06Fix a hibernate crash on some machines due to unmapping a page thatMike Larkin
2015-01-12hibernate_suspend() should not pmap_kremove by itself; hibernate_free()Theo de Raadt
2014-12-22fix an error in piglet allocation when requesting an alignment < PAGE_SIZEMike Larkin
2014-12-17remove lock.h from uvm_extern.h. another holdover from the simpletonlockTed Unangst
2014-11-16Replace a plethora of historical protection options with justTheo de Raadt
2014-11-05No reason to have things like the hibernate allocation area and chunkMike Larkin
2014-11-02Unmap the hibernate hiballoc page after we are done with it.Mike Larkin
2014-10-22Remove some unused/unneeded code.Mike Larkin
2014-10-22Use the global piglet address variables as sparingly as possible to avoidMike Larkin
2014-10-16No need to reserve separate KVA ranges for the RLE and copy pages inMike Larkin
2014-10-09fix some data type mismatches in the zlib paths in hibernateMike Larkin
2014-10-09remove an unused function and some unused variables in hibernateMike Larkin
2014-09-26Rework piglet and pig allocation. Currently the piglet gets allocatedMark Kettenis
2014-09-19Use config_suspend_all(9).Mark Kettenis
2014-07-21fix some wrong comments and a bit of KNFMike Larkin
2014-07-20Support hibernating to softraid crypto volumes.Mike Larkin
2014-07-16Reenable hibernate RLE support and flush+zero all memory after unpack.Mike Larkin
2014-07-09Minor cleanups in wording in some comments and printfs, and added someMike Larkin
2014-07-09Don't use the suspending kernel's VA mapping for the piglet. It's farMike Larkin
2014-07-09Cleanup the chunk placement routine by removing the conflict resolver.Mike Larkin
2014-07-09Use suspending kernel's stack smash guard to avoid panicing during unpack.Mike Larkin
2014-05-31Fix a format specifier in a debug printf.Mike Larkin
2014-05-29Read MAXPHYS bytes at a time in the hibernate image read, instead ofMike Larkin
2014-05-21Change use of Z_PARTIAL_FLUSH to Z_SYNC_FLUSH in the hibernate code as perMike Larkin
2014-04-26Perform MAXPHYS-sized reads for the chunktable instead of PAGE_SIZE-sizedMike Larkin
2014-04-20More dead stores removal in subr_hibernate.cMike Larkin
2014-04-19Dead stores in subr_hibernate.cMike Larkin
2014-03-21Allow for two more pmap-specific bits in vm_page pg_flags. DefineMiod Vallat
2014-03-13get rid of the assumption that the head of the alldevs list is theDavid Gwynne
2014-02-01Remove some of the excessive cache and TLB flushing going on duringMike Larkin
2014-01-21bzero -> memsetTed Unangst
2014-01-14Typo in a printf, should be 'bytes' not 'blocks'Mike Larkin
2013-11-21remove the #define b_cylinder b_resid from bufs. i hated theDavid Gwynne
2013-11-09Remove hibernate_get_next_rle function (unused, and we need to redo itMike Larkin
2013-11-09unbias the chunks and chunktable writing and reading. as a result, itTheo de Raadt
2013-11-06simplify a crazy expressionTheo de Raadt
2013-11-06In hibernate_write_chunks(), keep track of relative block numbers insteadTheo de Raadt
2013-11-06spacingTheo de Raadt
2013-11-06return the known error, instead of EIOTheo de Raadt
2013-11-06shorten dev_t in hib_infoTheo de Raadt
2013-11-06shorten variable name for the hibernate info struct, throughout. MuchTheo de Raadt
2013-11-06use DEV_BSIZE instead of "secsize"Theo de Raadt
2013-11-06teach the side-effect free drivers about the partition they are dealingTheo de Raadt
2013-11-06Errant assignment that snuck in long ago. Pointed out by deraadt@Mike Larkin
2013-11-05Change an #if 0 surrounding a debug printf into a DPRINTF instead.Mike Larkin
2013-11-05new function uvm_hibswap() finds a the largest free zone in swap, whichTheo de Raadt
2013-11-05Replace direct references to p_size, p_offset and d_secperunit withKenneth R Westerback