util/disk_cache: make use of the total job size limiting feature
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 3 Sep 2019 04:22:50 +0000 (14:22 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 19 Sep 2019 05:03:27 +0000 (15:03 +1000)
commitddd314f0cecb89004980618ac40171a079f324fe
tree526573745ae50a855815e6041a8a096f4ae55212
parent896885025f37484cc693f480ee797e83e3a6f9ee
util/disk_cache: make use of the total job size limiting feature

This makes use of the total job size limiting feature added in the
previous patch.

The idea is to avoid an excessive build up in memory use due to the
use of both the UTIL_QUEUE_INIT_RESIZE_IF_FULL and
UTIL_QUEUE_INIT_USE_MINIMUM_PRIORITY flags.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/util/disk_cache.c