PMDISK_SUSPEND

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

pmdisk_suspend - Atomically snapshot the system.  

SYNOPSIS

"SYNOPSIS"

int pmdisk_suspend ( void);  

ARGUMENTS

void
no arguments
 

DESCRIPTION

This must be called with interrupts disabled, to prevent the system changing at all from underneath us.

To do this, we count the number of pages in the system that we need to save; make sure we have enough memory and swap to clone the pages and save them in swap, allocate the space to hold them, and then snapshot them all.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 05:30:51 GMT, October 06, 2005