qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [PATCH 03/11] util: use RCU accessors for notifiers


From: Stefan Hajnoczi
Subject: Re: [Qemu-block] [PATCH 03/11] util: use RCU accessors for notifiers
Date: Mon, 10 Jul 2017 16:52:06 +0100
User-agent: Mutt/1.8.0 (2017-02-23)

On Thu, Jul 06, 2017 at 06:38:20PM +0200, Paolo Bonzini wrote:
>  void notifier_list_notify(NotifierList *list, void *data)
>  {
>      Notifier *notifier, *next;
>  
> -    QLIST_FOREACH_SAFE(notifier, &list->notifiers, node, next) {
> +    QLIST_FOREACH_SAFE_RCU(notifier, &list->notifiers, node, next) {
>          notifier->notify(notifier, data);
>      }
>  }

Who calls rcu_read_lock() or is it unnecessary?

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]