[coreboot-gerrit] Change in coreboot[master]: cpu/x86/mtrr: Optimize optimize_var_mtrr_hole()

Nico Huber (Code Review) gerrit at coreboot.org
Sat Oct 21 01:33:25 CEST 2017


Hello build bot (Jenkins), 

I'd like you to reexamine a change. Please visit

    https://review.coreboot.org/22119

to look at the new patch set (#2).

Change subject: cpu/x86/mtrr: Optimize optimize_var_mtrr_hole()
......................................................................

cpu/x86/mtrr: Optimize optimize_var_mtrr_hole()

This alternative implementation reduces runtime complexity a lot. But
as numbers are small, it only gains us about 1us. Also, the original
implementation is more explicit about what is done.

Change-Id: Idcdc0f3a4cc9be8592454bf977feb99deb0f529e
Signed-off-by: Nico Huber <nico.h at gmx.de>
---
M src/cpu/x86/mtrr/mtrr.c
1 file changed, 35 insertions(+), 22 deletions(-)


  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/19/22119/2
-- 
To view, visit https://review.coreboot.org/22119
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Idcdc0f3a4cc9be8592454bf977feb99deb0f529e
Gerrit-Change-Number: 22119
Gerrit-PatchSet: 2
Gerrit-Owner: Nico Huber <nico.h at gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20171020/5656207f/attachment.html>


More information about the coreboot-gerrit mailing list