Home
last modified time | relevance | path

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

/mm/
Dpage-writeback.c143 unsigned long bg_thresh; /* dirty background threshold */ member
405 unsigned long bg_thresh; in domain_dirty_limits() local
434 bg_thresh = DIV_ROUND_UP(bg_bytes, PAGE_SIZE); in domain_dirty_limits()
436 bg_thresh = (bg_ratio * available_memory) / PAGE_SIZE; in domain_dirty_limits()
438 if (bg_thresh >= thresh) in domain_dirty_limits()
439 bg_thresh = thresh / 2; in domain_dirty_limits()
442 bg_thresh += bg_thresh / 4 + global_wb_domain.dirty_limit / 32; in domain_dirty_limits()
446 dtc->bg_thresh = bg_thresh; in domain_dirty_limits()
450 trace_global_dirty_state(bg_thresh, thresh); in domain_dirty_limits()
468 *pbackground = gdtc.bg_thresh; in global_dirty_limits()
[all …]