summaryrefslogtreecommitdiff
path: root/sys/kern/subr_hibernate.c
AgeCommit message (Expand)Author
2022-09-03whitespaceMike Larkin
2022-09-02Get the retguard region's phys address from pmap, instead of using linkerMike Larkin
2022-09-01whitespaceMike Larkin
2022-07-29Replace the swap extent(9) usage by a blist data structure.Sebastien Marie
2022-02-19The suspend/resume code sleeps-not-allowed phases are protected withTheo de Raadt
2022-01-17Allow more memory ranges in hibernateMike Larkin
2022-01-07hibernate_clear_signature() is only used by hibernate_resume(), soPhilip Guenther
2022-01-07Extract the slice from the zeroth swap device instead of assumingPhilip Guenther
2022-01-04Use the device we read the hibernate signature from for the entirePhilip Guenther
2021-08-31printing the hibernate image size in MB is easier on the eyesTheo de Raadt
2021-08-30increase hibernate writeout speed a little. modern machines have vastTheo de Raadt
2021-07-08whitespace fixes, no code change.Mike Larkin
2021-03-10spellingJonathan Gray
2018-06-21don't let the retguard skip region exceed the space we have reserved forMike Larkin
2018-06-21Save and restore retguard area during hibernate unpack. This copies theMike Larkin
2017-08-17print why the signature block check of an unhibernate attempt failed, toMike Larkin
2017-06-22calculate a "sum" based upon pointers to functions all over the kernel,Theo de Raadt
2017-03-27If hibernate_alloc() encounters a problem it should undo the partialTheo de Raadt
2016-09-27move from RB macros to RBT functionsDavid Gwynne
2016-09-16move the vm_page struct from being stored in RB macro trees to RBT functionsDavid Gwynne
2016-09-05Fix hibernation - make stack protector writable during resumeBob Beck
2016-09-01Fix undefined behaviour when comparing pointers by casting them to vaddr_t.akfaew
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