summaryrefslogtreecommitdiff
path: root/sys/kern/subr_hibernate.c
AgeCommit message (Expand)Author
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
2012-06-21use regular i/o functions in the hibernate resume path. ahci(4) hibernateJonathan Matthew
2012-06-20Fix some hibernate issues on machines with > 3.5GB phys memMike Larkin
2012-04-12hibernate: fix lock/unlock mismatchAriane van der Steldt
2012-03-26Fix an integer math error when using the result of uvm_page_rle, andMike Larkin
2011-11-29ready this for big-endian support later onTheo de Raadt
2011-11-29Only free the piglet on hibernate fail if we are suspending.Mike Larkin
2011-11-23clamp uvm_page_rle() to 255 pages at a timeTheo de Raadt
2011-11-22Ensure we are unpacking the right source address after skipping a range ofMike Larkin
2011-11-18no need to zero all the free pages since we will be skipping them withMike Larkin
2011-11-18- fix a few trailing whitespaces and a spelloJasper Lievisse Adriaanse
2011-11-18fix a corner case in rle processing where the rle byte was the last byteMike Larkin
2011-11-17physmem run length encoding (rle) for hibernate - don't compress or writeMike Larkin
2011-11-16Reduce use of globals in hibernate code.Mike Larkin
2011-11-15on failure, hibernate io functions return an errno. not 1.Theo de Raadt
2011-11-14Use a fixed io_page for all hibernate I/O, which is needed forMike Larkin
2011-11-13Add some #defines for the various hibernate I/O modes, some of theMike Larkin