summaryrefslogtreecommitdiff
path: root/sys/kern/subr_hibernate.c
AgeCommit message (Expand)Author
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
2011-11-13In hibernate resume, free the piglet and other VAs we allocated duringMike Larkin
2011-11-13Fix a handful of bugs that were causing reboots and other bad behaviorMike Larkin
2011-09-22KNF of mlarkin's code, requested by him. Some improvements to the interfaceTheo de Raadt
2011-09-21Cleanup page calculation for final memory chunk ordering list forMike Larkin
2011-09-21Perform most of the remaining refactoring of hibernate code intoMike Larkin
2011-07-18Allocations fit if [the end of free space] >= [the end of allocated space].Ariane van der Steldt
2011-07-18Fix uvm_pmr_alloc_piglet.Ariane van der Steldt
2011-07-11Add hibernate_read_block and fix a couple of typos in the previous commit.Mike Larkin
2011-07-09Call (temporarily, until we have RLE page encoding) uvm_pmr_zero_everythingMike Larkin
2011-07-09Extract hibernate_write_signature and hibernate_clear_signature to the MIMike Larkin
2011-07-09Extract MI pmap function hibernate_enter_resume_mapping, refactor old i386Mike Larkin