Home
last modified time | relevance | path

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

/openbmc/linux/mm/
H A Dpage-writeback.c135 unsigned long bg_thresh; /* dirty background threshold */ member
385 unsigned long bg_thresh; in domain_dirty_limits() local
414 bg_thresh = DIV_ROUND_UP(bg_bytes, PAGE_SIZE); in domain_dirty_limits()
416 bg_thresh = (bg_ratio * available_memory) / PAGE_SIZE; in domain_dirty_limits()
420 bg_thresh += bg_thresh / 4 + global_wb_domain.dirty_limit / 32; in domain_dirty_limits()
430 if (bg_thresh >= thresh) in domain_dirty_limits()
431 bg_thresh = thresh / 2; in domain_dirty_limits()
433 dtc->bg_thresh = bg_thresh; in domain_dirty_limits()
437 trace_global_dirty_state(bg_thresh, thresh); in domain_dirty_limits()
455 *pbackground = gdtc.bg_thresh; in global_dirty_limits()
[all …]
/openbmc/linux/include/trace/events/
H A Dwriteback.h625 unsigned long bg_thresh,
636 TP_ARGS(wb, thresh, bg_thresh, dirty, bdi_thresh, bdi_dirty,
659 unsigned long freerun = (thresh + bg_thresh) / 2;