[lttng-dev] liburcu's assertion failed when cannot allocate memory

2017-06-15 Thread Denis Yevgenyevich
My memory-constrained application dumps core saying Assertion failed: (!ret), function _cds_wfcq_init, file ./urcu/static/wfcqueue.h, line 107. Abort The function was called from the call_rcu thread, my app does not call wfcqueue directly. My operating system is FreeBSD-10.3, you won't reproduce

[lttng-dev] [liburcu] rculfhash autoresizing creates huge tables

2018-03-26 Thread Denis Yevgenyevich
Hello, I think rculfhash autoresizing (as enabled by CDS_LFHT_AUTO_RESIZE) does not behave well. Each time _cds_lfht_add finds a hash bucket with more than 2 items, it basically tries to quadruple the hash table size. But even with a perfect hash function hash collisions are not that rare, given a

Re: [lttng-dev] [liburcu] rculfhash autoresizing creates huge tables

2018-03-28 Thread Denis Yevgenyevich
> That would be a possibility, yes. Would you like to propose a patch ? Perhaps later, too busy. On 27 March 2018 at 19:17, Mathieu Desnoyers wrote: > (Please keep the lttng-dev mailing list in CC.) > > - On Mar 27, 2018, at 12:07 PM, Denis Yevgenyevich > denis.yevgenyev...@