Home
last modified time | relevance | path

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

/mm/
Dpage-writeback.c139 unsigned long thresh; /* dirty threshold */ member
402 unsigned long thresh; in domain_dirty_limits() local
427 thresh = DIV_ROUND_UP(bytes, PAGE_SIZE); in domain_dirty_limits()
429 thresh = (ratio * available_memory) / PAGE_SIZE; in domain_dirty_limits()
436 if (bg_thresh >= thresh) in domain_dirty_limits()
437 bg_thresh = thresh / 2; in domain_dirty_limits()
441 thresh += thresh / 4 + global_wb_domain.dirty_limit / 32; in domain_dirty_limits()
443 dtc->thresh = thresh; in domain_dirty_limits()
448 trace_global_dirty_state(bg_thresh, thresh); in domain_dirty_limits()
467 *pdirty = gdtc.thresh; in global_dirty_limits()
[all …]