Home
last modified time | relevance | path

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

/mm/
Dpage_poison.c62 static DEFINE_RATELIMIT_STATE(ratelimit, 5 * HZ, 10); in check_poison_mem()
78 if (!__ratelimit(&ratelimit)) in check_poison_mem()
Dpage-writeback.c1869 int ratelimit; in balance_dirty_pages_ratelimited() local
1880 ratelimit = current->nr_dirtied_pause; in balance_dirty_pages_ratelimited()
1882 ratelimit = min(ratelimit, 32 >> (PAGE_SHIFT - 10)); in balance_dirty_pages_ratelimited()
1892 if (unlikely(current->nr_dirtied >= ratelimit)) in balance_dirty_pages_ratelimited()
1896 ratelimit = 0; in balance_dirty_pages_ratelimited()
1904 if (*p > 0 && current->nr_dirtied < ratelimit) { in balance_dirty_pages_ratelimited()
1906 nr_pages_dirtied = min(*p, ratelimit - current->nr_dirtied); in balance_dirty_pages_ratelimited()
1912 if (unlikely(current->nr_dirtied >= ratelimit)) in balance_dirty_pages_ratelimited()