git: kernel - Fix ranging test in memory probe, adjust memory test

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Dec 5 18:19:55 PST 2017


commit 7241a23bd0a889c52acfcf17c9bceb32950192fd
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Dec 5 18:17:53 2017 -0800

    kernel - Fix ranging test in memory probe, adjust memory test
    
    * Fix a ranging test in the memory probe code.  The 'incr' value can
      potentially skip over blacked-out areas of memory and thus accidently
      include them in the range.
    
    * We no longer exhaustively test memory.  Instead, just test the first
      and last page for each range.

Summary of changes:
 sys/platform/pc64/x86_64/machdep.c | 104 +++++++++++++++++++++++++------------
 1 file changed, 70 insertions(+), 34 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7241a23bd0a889c52acfcf17c9bceb32950192fd


-- 
DragonFly BSD source repository



More information about the Commits mailing list