search for: clear_access_tag

Displaying 1 result from an estimated 1 matches for "clear_access_tag".

2011 Nov 01
2
xenpaing: one way to avoid paging out the page, when the corresponding mfn is in use.
...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, go to out ........ set_p2m_entry(d, gfn, mfn, 0, p2m_ram_paging_out); if ( test_access_tag ( mfn ) ) goto out; -------->...