From fd250d236ae8aae38d51e8cb0d41b45602ec1b4a Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 4 Jun 2024 15:25:35 +0100 Subject: [PATCH] bitbake: runqueue: Avoid save_unitaskhashes The save comes with an IO overhead which can slow down the rehash loop in bitbake a lot. We only needed to do this when recipes were doing unihash cache copying. Now they aren't doing that, drop this IO pain point. (Bitbake rev: dfc15ef99302dea22a051c9eb8398ffd5cf1fc20) Signed-off-by: Richard Purdie --- bitbake/lib/bb/runqueue.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 93079a9776..3462ed4457 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py @@ -2550,9 +2550,6 @@ class RunQueueExecute: self.rqdata.runtaskentries[hashtid].unihash = unihash bb.parse.siggen.set_unihash(hashtid, unihash) toprocess.add(hashtid) - if torehash: - # Need to save after set_unihash above - bb.parse.siggen.save_unitaskhashes() # Work out all tasks which depend upon these total = set()