|
The Pedigree Project 0.1
|
Collaboration diagram for Cache::PreparedDiscard:Classes | |
| struct | Entry |
Public Member Functions | |
| MUST_USE_RESULT bool | writeback (retirement_writeback_t callback, void *context) |
| void | commit () |
Private Member Functions | |
| PreparedDiscard (Cache &cache) | |
| NOT_COPYABLE_OR_ASSIGNABLE (PreparedDiscard) | |
Private Attributes | |
| TerminationDeferral | m_TerminationDeferral |
| Cache & | m_Cache |
| UniqueArray< Entry > | m_Entries |
| size_t | m_Count |
| bool | m_Committed |
| OperationBarrier::Lease | m_Lease |
Friends | |
| class | Cache |
| Cache::PreparedDiscard::~PreparedDiscard | ( | ) |
Definition at line 30 of file Cache-discard.cc.
|
explicitprivate |
Definition at line 27 of file Cache-discard.cc.
| void Cache::PreparedDiscard::commit | ( | ) |
Definition at line 91 of file Cache-discard.cc.
| bool Cache::PreparedDiscard::writeback | ( | retirement_writeback_t | callback, |
| void * | context | ||
| ) |
Writes exclusively claimed pages without reopening lookup admission. All pages remain dirty until commit: the owner must still flush hardware.
Definition at line 47 of file Cache-discard.cc.
References ProcessorBase::information(), Cache::CachePage::key, Cache::CachePage::location, Cache::m_EvictionWaiters, Cache::m_Lock, and Cache::CachePage::refcnt.
|
private |
|
private |
|
private |