OSDN Git Service

plugins/cache: Fixed a bug with destroying FIFO metadata
authorMahmoud Mandour <ma.mandourr@gmail.com>
Tue, 20 Jul 2021 23:26:55 +0000 (00:26 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Fri, 23 Jul 2021 16:22:16 +0000 (17:22 +0100)
commitde9fc40f36ab8e696d1c69727e80a80c46f20978
treef493505e0e0a19c713fb7af677bd61840c682323
parentf7e68c9c99ad94f23d3ba3af1642c805b11c71c1
plugins/cache: Fixed a bug with destroying FIFO metadata

This manifests itself when associativity degree is greater than the
number of sets and FIFO is used, otherwise it's also a memory leak
whenever FIFO was used.

Signed-off-by: Mahmoud Mandour <ma.mandourr@gmail.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210714172151.8494-2-ma.mandourr@gmail.com>
Message-Id: <20210720232703.10650-22-alex.bennee@linaro.org>
contrib/plugins/cache.c