Searched refs:bg_thresh (Results 1 – 1 of 1) sorted by relevance
143 unsigned long bg_thresh; /* dirty background threshold */ member405 unsigned long bg_thresh; in domain_dirty_limits() local434 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 …]