Searched refs:per_page_cost (Results 1 – 1 of 1) sorted by relevance
409 unsigned long per_page_cost; in scan_time_advisor() local447 per_page_cost = ksm_thread_pages_to_scan / cpu_percent; in scan_time_advisor()448 per_page_cost = per_page_cost ? per_page_cost : 1; in scan_time_advisor()450 pages = min(pages, per_page_cost * ksm_advisor_max_cpu); in scan_time_advisor()451 pages = max(pages, per_page_cost * KSM_ADVISOR_MIN_CPU); in scan_time_advisor()