Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/
H A Ddm-cache-policy-smq.c1054 unsigned int threshold_level = allocator_empty(&mq->cache_alloc) ? in update_promote_levels() local
1057 threshold_level = max(threshold_level, NR_HOTSPOT_LEVELS); in update_promote_levels()
1066 threshold_level /= 4u; in update_promote_levels()
1070 threshold_level /= 2u; in update_promote_levels()
1077 mq->read_promote_level = NR_HOTSPOT_LEVELS - threshold_level; in update_promote_levels()
1078 mq->write_promote_level = (NR_HOTSPOT_LEVELS - threshold_level); in update_promote_levels()