/* setup_pagelist_highmark() sets the high water mark for hot per_cpu_pagelist to the value high for the pageset p.  */
static void setup_pagelist_highmark(struct per_cpu_pageset *p, unsigned long high)
/* setup_pagelist_highmark() sets the high water mark for hot per_cpu_pagelist to the value high for the pageset p.  */
static void setup_pagelist_highmark(struct per_cpu_pageset *p, unsigned long high)
{
	struct per_cpu_pages *pcp;
	pcp = &p->pcp;
	pcp->high = high;
	pcp->batch = max(1UL, high/4);
	if ((high/4) > (PAGE_SHIFT * 8))
		pcp->batch = PAGE_SHIFT * 8;
}