BUG: fix 54-live-binary_tree to use binary tree#371
BUG: fix 54-live-binary_tree to use binary tree#371kolyshkin wants to merge 1 commit intoseccomp:mainfrom
Conversation
|
Seems that CI is screwed because of an inconsistent state of Azure's Ubuntu apt mirror, e.g.
|
I re-kicked off the CI. Fingers crossed. |
|
Looks good to me. Thanks @kolyshkin.
|
|
I just kicked the CI too as the last run was still failing with the same problem. |
|
Oh, I found the CI problem, just a minute ... |
|
Okay, our CI should now be fixed (we we're missing an @drakenclimber since this was a trivial change and we needed it to get the CI working again I just went ahead and merged the fix, if you have any concerns about it let me know and we can patch over it or revert it if something is really wrong. |
Totally the right thing to do. No objections here. |
Apparently, an early implementation of the binary tree optimization used to enable the feature when the number of rules added was > 16. The code was later changed to add and use SCMP_FLTATR_CTL_OPTIMIZE, but the 54-live-binary_tree test case was left as is. So, despite its name, it is not testing the binary tree. Fix this, and remove the comment that referred to the old implementation. Fixes: 38f04da Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Ah! I briefly suspected that yesterday but neglected to check :-\
Done |
1245bd0 to
9779813
Compare
Apparently, an early implementation of the binary tree optimization
used to enable the feature when the number of rules added was > 16.
The code was later changed to add and use SCMP_FLTATR_CTL_OPTIMIZE,
but the 54-live-binary_tree test case was left as is. So, despite
its name, it is not testing the binary tree.
Fix this, and remove the comment that referred to the old
implementation.
Fixes: 38f04da (PR #152)
Signed-off-by: Kir Kolyshkin kolyshkin@gmail.com