Home
last modified time | relevance | path

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

/linux-6.12.1/mm/
Dpage-writeback.c135 unsigned long bg_thresh; /* dirty background threshold */ member
387 unsigned long bg_thresh; in domain_dirty_limits() local
416 bg_thresh = DIV_ROUND_UP(bg_bytes, PAGE_SIZE); in domain_dirty_limits()
418 bg_thresh = (bg_ratio * available_memory) / PAGE_SIZE; in domain_dirty_limits()
422 bg_thresh += bg_thresh / 4 + global_wb_domain.dirty_limit / 32; in domain_dirty_limits()
432 if (bg_thresh >= thresh) in domain_dirty_limits()
433 bg_thresh = thresh / 2; in domain_dirty_limits()
435 dtc->bg_thresh = bg_thresh; in domain_dirty_limits()
439 trace_global_dirty_state(bg_thresh, thresh); in domain_dirty_limits()
457 *pbackground = gdtc.bg_thresh; in global_dirty_limits()
[all …]
/linux-6.12.1/include/trace/events/
Dwriteback.h633 unsigned long bg_thresh,
644 TP_ARGS(wb, thresh, bg_thresh, dirty, bdi_thresh, bdi_dirty,
667 unsigned long freerun = (thresh + bg_thresh) / 2;