search for: pod_history_max

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

2012 Jun 27
0
Re: [PATCH 2 of 4] xen, pod: Zero-check recently populated pages (checklast)
...his will snap up zeroed pages as > soon as > + * the guest OS is done with them. */ > +static void > +p2m_pod_check_last_super(struct p2m_domain *p2m, unsigned long > gfn_aligned) > +{ > + unsigned long check_gfn; > + > + ASSERT(p2m->pod.last_populated_index < POD_HISTORY_MAX); > + > + check_gfn = p2m->pod.last_populated[p2m->pod.last_populated_index]; > + > + p2m->pod.last_populated[p2m->pod.last_populated_index] = gfn_aligned; > + > + p2m->pod.last_populated_index = > + ( p2m->pod.last_populated_index + 1 ) % POD_...