diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-09-07 09:50:29 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-09-07 09:50:29 -0700 |
commit | 2fcd7b85986f144662092b4e0a7c973b5be74306 (patch) | |
tree | 236bc6c7bcff2489a429453d7e80f0d21c5e8bbd | |
parent | 959b215fc65df4172c9aa3a97d59240ee5187ea5 (diff) |
modules/flow: add TODO blurb abot per-cpu seeds
Writing this down so it doesn't completely fall off my radar.
-rw-r--r-- | src/modules/flow/flow.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/flow/flow.c b/src/modules/flow/flow.c index 86632a0..d667e09 100644 --- a/src/modules/flow/flow.c +++ b/src/modules/flow/flow.c @@ -19,6 +19,9 @@ /* TODO: * - improve the second pass's element rejection efficiency, a spatial data structure * could probably help here. + * + * - rand_element() is called in parallel in the first pass when elements are rebooted, + * but a single shared seed is being used. This should be made a per-cpu seed. */ #define FLOW_DEFAULT_SIZE "8" |