summaryrefslogtreecommitdiff
path: root/sys/kern/subr_hibernate.c
AgeCommit message (Expand)Author
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
2013-10-20Informational message on unpack startMike Larkin
2013-10-20Provide more debugging aids when failing to read the packed image from diskMike Larkin
2013-10-20DPRINTFs for various failure cases, disabled by default (uncommentMike Larkin
2013-10-20Flush the cache after bouncing the inflate page to the piglet.Mike Larkin
2013-10-20Use a second inflate page for stream finalize, since it is possibleMike Larkin
2013-10-03Adds DPRINTF/DNPRINTF macros to hibernate, and adds invocation of saidMike Larkin
2013-09-29Print out the compressed image size during unhibernate, for diagnosticMike Larkin
2013-06-01Work around stack smash protector getting confused because we switchedMike Larkin
2013-06-01Change return codes in various hibernate functions to be able to laterMike Larkin
2013-05-31We need to halt the APs on MP hibernate resume or else they will beMike Larkin
2013-05-30Make interrupt handling in hibernate resume MI by providing MD-specificMike Larkin
2013-05-30Comment a KASSERT whose purpose wasn't immediately apparentMike Larkin
2013-04-09Add a magic number to the head of the signature block. Check for magicMike Larkin
2013-03-28sys/param.h gets you sys/types.h automaticallyTheo de Raadt
2013-03-07Reword some wrong comments and some improperly formatted comments and addMike Larkin
2013-03-06Fix a bad comparison when calculating the size of the hibernate signatureMike Larkin
2013-01-17Style, no functional changes.Paul Irofti
2013-01-17Add a hibernate HIB_DONE op. After the memory-side-effect driver finishesTheo de Raadt
2013-01-17increase the number of pages used to hold the chunk ordering map and changeMike Larkin
2013-01-17fix an error in the amd64 asm unhibernate code and a slight adjustment toMike Larkin
2012-07-19say that we are unhibernating..Theo de Raadt
2012-07-16Back out my workaround from r1.43 now that jsing has committed a better fix.Stefan Sperling
2012-07-16Make sure we have a swap partition before trying to read or writeJoel Sing
2012-07-15Don't panic in hibernate resume if no swap partition exists on the root disk.Stefan Sperling
2012-07-12Temporarily don't do RLE page encoding in hibernate to fix some unpackingMike Larkin
2012-07-11Enable the swap checker for hibernateMike Larkin
2012-07-09DVACT_SUSPEND must be done at cold with interrupts disabled. FailureTheo de Raadt
2012-07-08Quiesce and suspend devices in the resuming kernel for hibernate.Mike Larkin
2012-07-08Make hibernate_free() safe to be called even if hibernate areasTheo de Raadt
2012-07-08Reorganize some hibernate functions for easier readability.Mike Larkin