Thank you again for all your help Mathieu!
Sent from my iPhone
> On Apr 15, 2021, at 3:26 PM, Mathieu Desnoyers
> wrote:
>
> - On Apr 15, 2021, at 2:11 PM, lbj lbj...@yahoo.com wrote:
>
>> Thanks Mathieu. Is it safe to assume that if call_rcu is called twice then
>> the
>> callbacks are
- On Apr 15, 2021, at 2:11 PM, lbj lbj...@yahoo.com wrote:
> Thanks Mathieu. Is it safe to assume that if call_rcu is called twice then the
> callbacks are executed in the order that call_rcu was invoked? I think there
> is
> a queue and only one thread that QSBR uses to handle callbacks, i j
Thanks Mathieu. Is it safe to assume that if call_rcu is called twice then the
callbacks are executed in the order that call_rcu was invoked? I think there is
a queue and only one thread that QSBR uses to handle callbacks, i just wanted
to make sure that the queue was a guaranteed fifo.
Sent
- On Apr 15, 2021, at 10:54 AM, lbj lbj...@yahoo.com wrote:
> Mathieu,
> Thanks so much for your wealth if information and timely responses, they are
> greatly appreciated. Final question: is there any harm in explicitly calling
> rcu_thread_online/rcu_thread_offline from within my call_rcu ca
Mathieu,
Thanks so much for your wealth if information and timely responses, they are
greatly appreciated. Final question: is there any harm in explicitly calling
rcu_thread_online/rcu_thread_offline from within my call_rcu callback function?
From what you described it sounds like it would be re
- On Apr 15, 2021, at 8:41 AM, lbj lbj...@yahoo.com wrote:
> Hi Mathieu,
> When I say “reclamation thread” I do mean the thread launched by call_rcu that
> is typically responsible for memory deallocations. Is is possible/recommended
> to register for rcu and then take an rcu-reader lock in su
Hi Mathieu,
When I say “reclamation thread” I do mean the thread launched by call_rcu that
is typically responsible for memory deallocations. Is is possible/recommended
to register for rcu and then take an rcu-reader lock in such a thread? That is
my main question.
As for reader locks being no
- On Apr 13, 2021, at 11:19 PM, lttng-dev lttng-dev@lists.lttng.org wrote:
> Hello all,
>
> I have two different entities that are both protected by QSBR rcu: a policy
> and
> a hashtable. In the reclamation thread for the policy I would like to take a
> read lock so that I can safely iterat