Displaying 1 result from an estimated 1 matches for "gfn_to_mfn_noreference".
2011 Nov 01
2
xenpaing: one way to avoid paging out the page, when the corresponding mfn is in use.
...ted by paging .
2.Using access tag to avoid case 2. During the paging nomination, if the access tag of page is detected,
paging should skip selecting this page.
The pseudo-code of step 3 can be written as follow:
int p2m_mem_paging_nominate(struct domain *d, unsigned long gfn)
{
mfn = gfn_to_mfn_noreference(d, gfn, &p2mt); -----> avoid saving timestamp and access tag
if ( !mfn_valid(mfn) )
goto out;
clear_access_tag(); ----------> clear the access tag of this page
if (test_page_hot())
goto out; ------> if the page is accessed recently, g...