[coreboot-gerrit] Patch merged into coreboot/master: b419149 elog: Eliminate CONFIG_ELOG_FULL_THRESHOLD and CONFIG_ELOG_SHRINK_SIZE

gerrit at coreboot.org gerrit at coreboot.org
Wed Apr 22 08:42:24 CEST 2015


the following patch was just integrated into master:
commit b41914952d1f7e2e9f896edd05924deb5b610dff
Author: Sol Boucher <solb at chromium.org>
Date:   Thu Mar 12 18:22:31 2015 -0700

    elog: Eliminate CONFIG_ELOG_FULL_THRESHOLD and CONFIG_ELOG_SHRINK_SIZE
    
    These Kconfig options provided a level of configurability that is
    almost never necessary, so they are being moved into ordinary
    preprocessor defines in elog_internal.h. The new threshold to
    trigger shrinking is relative to the number of additional
    (maximum-size) events that can fit, and the new target
    post-shrink size is a percentage of the total ELOG area size.
    
    BUG=chromium:467820
    TEST=Add loop at the end of elog_init() that fills the ELOG area
    to just below full_threshold with dummy events. Observe
    successful shrinkage when the next event is logged.
    BRANCH=None
    
    Change-Id: I414c4955a2d819d112ae4f0c7d3571576f732336
    Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
    Original-Commit-Id: ce439361e3954a2bf5186292f96936329171cf56
    Original-Change-Id: I926097f86262888dcdd47d73fba474bb2e19856a
    Original-Signed-off-by: Sol Boucher <solb at chromium.org>
    Original-Reviewed-on: https://chromium-review.googlesource.com/260501
    Original-Reviewed-by: Duncan Laurie <dlaurie at chromium.org>
    Original-Reviewed-by: Stefan Reinauer <reinauer at chromium.org>
    Reviewed-on: http://review.coreboot.org/9869
    Tested-by: build bot (Jenkins)
    Reviewed-by: Stefan Reinauer <stefan.reinauer at coreboot.org>


See http://review.coreboot.org/9869 for details.

-gerrit



More information about the coreboot-gerrit mailing list