Hello, On Wed, Mar 13, 2019 at 03:40:04PM -0400, Barret Rhoden wrote: > Are there any other alternatives? Not using static SRCU in any code > that could be built as a module seems a little harsh.
Yes, allocate the srcu dynamically on module init and destroy on module exit. That's how the other similar case got solved too. We can't keep bumping up reserved size by the number of static SRCUs in modules. It's mostly there to make trivial small things easier. We don't lose anything meaningful by allocating srcu dynamically. Thanks. -- tejun

