All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] siggen: Drop copy_unihashes function
@ 2024-06-04 14:28 Richard Purdie
  2024-06-04 14:28 ` [PATCH 2/2] runqueue: Avoid save_unitaskhashes Richard Purdie
  2024-06-08 10:16 ` [bitbake-devel] [PATCH 1/2] siggen: Drop copy_unihashes function Alexandre Belloni
  0 siblings, 2 replies; 6+ messages in thread
From: Richard Purdie @ 2024-06-04 14:28 UTC (permalink / raw)
  To: bitbake-devel

The code in OE-Core using this has been replaced with something more fit
for purpose. Drop these function calls as they were never a great idea in the
first place and cause IO slowdown for runqueue needing to sync the cache.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 lib/bb/siggen.py | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/lib/bb/siggen.py b/lib/bb/siggen.py
index 92066da00c..89b70fb6a4 100644
--- a/lib/bb/siggen.py
+++ b/lib/bb/siggen.py
@@ -201,9 +201,6 @@ class SignatureGenerator(object):
     def save_unitaskhashes(self):
         return
 
-    def copy_unitaskhashes(self, targetdir):
-        return
-
     def set_setscene_tasks(self, setscene_tasks):
         return
 
@@ -418,9 +415,6 @@ class SignatureGeneratorBasic(SignatureGenerator):
     def save_unitaskhashes(self):
         self.unihash_cache.save(self.unitaskhashes)
 
-    def copy_unitaskhashes(self, targetdir):
-        self.unihash_cache.copyfile(targetdir)
-
     def dump_sigtask(self, mcfn, task, stampbase, runtime):
         tid = mcfn + ":" + task
         mc = bb.runqueue.mc_from_tid(mcfn)


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-06-08 10:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-04 14:28 [PATCH 1/2] siggen: Drop copy_unihashes function Richard Purdie
2024-06-04 14:28 ` [PATCH 2/2] runqueue: Avoid save_unitaskhashes Richard Purdie
2024-06-08 10:16 ` [bitbake-devel] [PATCH 1/2] siggen: Drop copy_unihashes function Alexandre Belloni
2024-06-08 10:18   ` Richard Purdie
2024-06-08 10:21     ` Alexander Kanavin
2024-06-08 10:25     ` Alexandre Belloni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.