Skip to contentSkip to conversation

Block patches

GIT PULL Applied Stefan Hajnoczi 2 participants 3 messages May 17, 2016

lore
Share & tools
lore
#0 lore raw

The following changes since commit 70f87e0f0aa04f764dabaeb3ed71ff195748076a:

Merge remote-tracking branch 'remotes/kraxel/tags/pull-ui-20160513-1' into staging (2016-05-13 13:39:38 +0100)

are available in the git repository at:

git://github.com/stefanha/qemu.git tags/block-pull-request

for you to fetch changes up to de3e15a705cbb4b54b2a749f8d5131c9f1666fb3:

rfifolock: no need to get thread identifier when nesting (2016-05-16 15:29:44 -0700)

----------------------------------------------------------------

----------------------------------------------------------------

Changlong Xie (1):
rfifolock: no need to get thread identifier when nesting

 util/rfifolock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.5.5
#1 lore raw

[Qemu-devel] [PULL 1/1] rfifolock: no need to get thread identifier when nesting

From: Changlong Xie <[email protected]>

Message-id: [email protected]

---
 util/rfifolock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
util/rfifolock.c +1 -1
index c22f5fe..084c2f0 100644
@@ -58,9 +58,9 @@ void rfifolock_lock(RFifoLock *r)
             }
             qemu_cond_wait(&r->cond, &r->lock);
         }
+        qemu_thread_get_self(&r->owner_thread);
     }
 
-    qemu_thread_get_self(&r->owner_thread);
     r->nesting++;
     qemu_mutex_unlock(&r->lock);
 }
Signature · 1 line
2.5.5
#2 lore raw
In reply to Stefan Hajnoczi
Quoted 10 lines · Stefan Hajnoczi

The following changes since commit 70f87e0f0aa04f764dabaeb3ed71ff195748076a:

Merge remote-tracking branch 'remotes/kraxel/tags/pull-ui-20160513-1' into staging (2016-05-13 13:39:38 +0100)

are available in the git repository at:

git://github.com/stefanha/qemu.git tags/block-pull-request

for you to fetch changes up to de3e15a705cbb4b54b2a749f8d5131c9f1666fb3:

Quoted 8 lines

rfifolock: no need to get thread identifier when nesting (2016-05-16 15:29:44 -0700)

----------------------------------------------------------------

----------------------------------------------------------------

Changlong Xie (1):
rfifolock: no need to get thread identifier when nesting

Applied, thanks.

-- PMM