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

Issue 6659004: CHROMIUM: verity: remove short-circuiting of 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: remove short-circuiting of verify_path This removes the optimization which short-circuited verify_path. The net result is the addition of a few cycles and the removal of a few so zero or negligible cycles added. The main benefit is the removal of the one of the larget comments in the code. Ran BootPerfServer to verify no noticable overhead added. Before: seconds_power_on_to_login 8.44 After: seconds_power_on_to_login 8.4 This result is within variance. BUG=9752 TEST=Ran dm-verity.git unit tests. Ran platform_DMVerityCorruption on H/W. Change-Id: Iad06d4a9590d149150af1461b88c28db32daedc7 Signed-off-by: Mandeep Singh Baines <msb@chromium.org>; Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=66b010f

Patch Set 1 #

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

Messages

Total messages: 6 (0 generated)
Mandeep Singh Baines
9 years, 9 months ago (2011-03-09 19:03:31 UTC) #1
Will Drewry
nack That test isn't representative of general behavior. In particular, our existing dm-bht tree is ...
9 years, 9 months ago (2011-03-09 19:51:47 UTC) #2
Paul T
LGTM
9 years, 9 months ago (2011-03-09 20:44:34 UTC) #3
Mandeep Singh Baines
PTAL (comments below) On 2011/03/09 19:51:47, Will Drewry wrote: > nack > > That test ...
9 years, 9 months ago (2011-03-09 21:30:08 UTC) #4
Will Drewry
On 2011/03/09 21:30:08, Mandeep Singh Baines wrote: > PTAL (comments below) > > On 2011/03/09 ...
9 years, 9 months ago (2011-03-09 21:38:35 UTC) #5
Will Drewry
9 years, 9 months ago (2011-03-09 22:52:02 UTC) #6
For clarity, LGTM. Then we need to fix this up after the fact :)

Powered by Google App Engine
This is Rietveld 408576698