Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(295)

Issue 6694010: CHROMIUM: verity: use atomic_set instead of atomic_cmpxchg in verify_path (Closed)

Created:
9 years, 9 months ago by Mandeep Singh Baines
Modified:
9 years, 7 months ago
Reviewers:
Paul T, ups, Will Drewry
CC:
chromium-os-reviews_chromium.org, vb+kernel_google.com, Olof Johansson, msb+croskernel_chromium.org
Visibility:
Public.

Description

CHROMIUM: verity: use atomic_set instead of atomic_cmpxchg in verify_path When moving from the READY to VERIFIED state it is sufficient to use an atomic_set since we know the previous state MUST have been either READY or VERIFIED. BUG=9752 TEST=Ran tests in verity.git. Ran platform_DMVerityCorruption on H/W. Change-Id: Id55dcbe1ba880801af9166f39859f944c8f418d3 Signed-off-by: Mandeep Singh Baines <msb@chromium.org>; R=wad@chromium.org,taysom@chromium.org,ups@chromium.org Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=ffd041f

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -3 lines) Patch
M drivers/md/dm-bht.c View 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Mandeep Singh Baines
9 years, 9 months ago (2011-03-15 01:38:30 UTC) #1
Will Drewry
LGTM
9 years, 9 months ago (2011-03-15 02:22:21 UTC) #2
Paul T
9 years, 9 months ago (2011-03-15 14:49:33 UTC) #3
LGTM

Powered by Google App Engine
This is Rietveld 408576698