Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(7320)

Issue 315360043: i#513 drx_buf Part 3: Fixes incorrect locking

Can't Edit
Can't Publish+Mail
Start Review
Created:
7 years, 3 months ago by toshi
Modified:
7 years, 3 months ago
Reviewers:
bruening
CC:
dynamorio-devs_googlegroups.com
Visibility:
Public.

Description

Commit log for first patchset: --------------- i#513 drx_buf Part 3: Fixes incorrect locking Fixes a minor locking bug in fault_event_helper(), and modifies drx_buf to use rwlocks as opposed to the general built-in drvector lock. ---------------

Patch Set 1 #

Total comments: 2

Patch Set 2 : Committed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -15 lines) Patch
M ext/drx/drx_buf.c View 1 10 chunks +24 lines, -15 lines 0 comments Download

Messages

Total messages: 5
toshi
7 years, 3 months ago (2017-01-10 07:00:43 UTC) #1
toshi
On 2017/01/10 07:00:43, toshi wrote: Note that the rwlocking stuff isn't strictly necessary. I wrote ...
7 years, 3 months ago (2017-01-10 07:04:22 UTC) #2
bruening
LGTM https://codereview.appspot.com/315360043/diff/1/ext/drx/drx_buf.c File ext/drx/drx_buf.c (left): https://codereview.appspot.com/315360043/diff/1/ext/drx/drx_buf.c#oldcode211 ext/drx/drx_buf.c:211: if (!any_bufs_created) Generally it's faster to have this ...
7 years, 3 months ago (2017-01-10 17:28:40 UTC) #3
toshi
https://codereview.appspot.com/315360043/diff/1/ext/drx/drx_buf.c File ext/drx/drx_buf.c (left): https://codereview.appspot.com/315360043/diff/1/ext/drx/drx_buf.c#oldcode211 ext/drx/drx_buf.c:211: if (!any_bufs_created) On 2017/01/10 17:28:40, bruening wrote: > Generally ...
7 years, 3 months ago (2017-01-10 21:01:11 UTC) #4
toshi
7 years, 3 months ago (2017-01-11 02:06:08 UTC) #5
Committed as
https://github.com/DynamoRIO/dynamorio/commit/410b2322590a71b547545c8d6a07d33...

Final commit log: 
---------------
i#513 drx_buf Part 3: Fixes incorrect locking

Fixes a minor locking bug in fault_event_helper(), and modifies drx_buf
to use rwlocks as opposed to the general built-in drvector lock.

Review-URL: https://codereview.appspot.com/315360043
---------------
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b