diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-09-06 23:16:29 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-09-06 23:16:29 -0700 |
commit | cce41f3a6b78358221c5789249a7db03c2e98a50 (patch) | |
tree | 1fcab0aaead1917251b404a21c158760acbbc51b /.gitmodules | |
parent | b75fd1eed010a73802b9a2a43579df24d5166c38 (diff) |
modules/flow: fix elements overflow bug
s->count isn't always perfectly divisable by n_cpus, which is why
ctxt->n_elements is computed from n_cpus * elements_per_cpu in
the transition to threaded rendering for flow.
That's all fine and dandy, but the ctxt->elements initialization
loop was still using the vestigial s->count from the pre-threaded
implementation. So on core counts where ctxt->n_elements was
smaller than s->count, initialization scribbled.
Thanks Sketch for assistance in chasing this down w/ASAN enabled
on a box that exhibited crashing w/rtv,channels=flow.
Diffstat (limited to '.gitmodules')
0 files changed, 0 insertions, 0 deletions