Home
last modified time | relevance | path

Searched refs:bg_thresh (Results 1 – 1 of 1) sorted by relevance

/mm/
Dpage-writeback.c139 unsigned long bg_thresh; /* dirty background threshold */ member
366 unsigned long bg_thresh; in domain_dirty_limits() local
395 bg_thresh = DIV_ROUND_UP(bg_bytes, PAGE_SIZE); in domain_dirty_limits()
397 bg_thresh = (bg_ratio * available_memory) / PAGE_SIZE; in domain_dirty_limits()
399 if (bg_thresh >= thresh) in domain_dirty_limits()
400 bg_thresh = thresh / 2; in domain_dirty_limits()
403 bg_thresh += bg_thresh / 4; in domain_dirty_limits()
407 dtc->bg_thresh = bg_thresh; in domain_dirty_limits()
411 trace_global_dirty_state(bg_thresh, thresh); in domain_dirty_limits()
429 *pbackground = gdtc.bg_thresh; in global_dirty_limits()
[all …]