DescriptionCHROMIUM: 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 #
Messages
Total messages: 3 (0 generated)
|