[Rpm-maint] [rpm-software-management/rpm] Generate file class dictionary after file classification for stability (#944)
Panu Matilainen
notifications at github.com
Thu Nov 21 08:48:02 UTC 2019
Store the file type strings in the classifier, and generate the dictionary and its ids serially after the parallel section completes to ensure stable order. Besides making the classifying really run in parallel again, this also moves the pool- and file-counting related constraints out of the parallel section for theoretically better parallelization.
This is an alternative fix to #934, using omp order clause simply made the classification run serially.
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/944
-- Commit Summary --
* Revert "Preserve processing order in file classification"
* Generate file class dictionary after file classification for stability
-- File Changes --
M build/rpmfc.c (34)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/944.patch
https://github.com/rpm-software-management/rpm/pull/944.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/944
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20191121/9fcd9638/attachment-0001.html>
More information about the Rpm-maint
mailing list