The Pedigree Project 0.1
Public Member Functions | List of all members
SlamRecovery Class Reference
+ Inheritance diagram for SlamRecovery:
+ Collaboration diagram for SlamRecovery:

Public Member Functions

virtual const char * getMemoryPressureDescription ()
 
virtual bool compact ()
 

Detailed Description

Handles doing recovery on SLAM if memory pressure is encountered.

Definition at line 155 of file system/kernel/core/main.cc.

Member Function Documentation

◆ compact()

bool SlamRecovery::compact ( )
virtual

Called by MemoryPressureManager to request this handler to take action to reduce memory pressure.

Returns
true if pages were released, false otherwise.

Implements MemoryPressureHandler.

Definition at line 694 of file system/kernel/core/main.cc.

◆ getMemoryPressureDescription()

const char * SlamRecovery::getMemoryPressureDescription ( )
virtual

Returns static storage so describing a recovery action cannot itself allocate memory.

Implements MemoryPressureHandler.

Definition at line 690 of file system/kernel/core/main.cc.


The documentation for this class was generated from the following file: