All of lore.kernel.org
 help / color / mirror / Atom feed
* an idea about parallel doing do_patch
@ 2020-09-07  8:27 zhangyifan46
  2020-09-07  8:37 ` [bitbake-devel] " Mikko Rapeli
  0 siblings, 1 reply; 5+ messages in thread
From: zhangyifan46 @ 2020-09-07  8:27 UTC (permalink / raw)
  To: bitbake-devel

[-- Attachment #1: Type: text/plain, Size: 677 bytes --]

In our peoject,we have suffered a lot from long duration of do_patch of linux kernel(3000+ patches). I found that one do_patch task uses only one process. So I modify a llittle do do_patch task. Here is my idea:
1.analyse the patches,only getting the modified files of each patch.
2.cluster all patches according to the files modified( patch no.1 modifies file A,B ,patch no.2 modifies file A, patch no.3 modifies file C,then we cluster patch no.1 and no.2 as  a group, patch no.3 as another group) , here I use union-find to do the cluster
3.assign one group on one process
But I met the problem of probabilistic missing patches.
Anyone has any comments about my idea?

[-- Attachment #2: Type: text/html, Size: 721 bytes --]

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

end of thread, other threads:[~2020-09-09 23:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-07  8:27 an idea about parallel doing do_patch zhangyifan46
2020-09-07  8:37 ` [bitbake-devel] " Mikko Rapeli
     [not found]   ` <20610.1599468217725892636@lists.openembedded.org>
2020-09-07  8:58     ` Mikko Rapeli
2020-09-07 10:30       ` Richard Purdie
2020-09-09 23:25   ` Khem Raj

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.