kernel - Fix ranging test in memory probe, adjust memory test
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 6 Dec 2017 02:17:53 +0000 (18:17 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 6 Dec 2017 02:17:53 +0000 (18:17 -0800)
commit7241a23bd0a889c52acfcf17c9bceb32950192fd
treef04942f048dc59013490bd1440f8645e7dcff7da
parentabfdbc2bc2acdf229435eaf1ee34e9e4b0c0bb1c
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.
sys/platform/pc64/x86_64/machdep.c