From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Subject: [PATCH 8/8] Disable transparent huge pages in test suite Date: Wed, 14 Dec 2011 11:38:38 -0800 Message-ID: <1323891518-1493-8-git-send-email-andi@firstfloor.org> References: <1323891518-1493-1-git-send-email-andi@firstfloor.org> Return-path: In-Reply-To: <1323891518-1493-1-git-send-email-andi@firstfloor.org> Sender: linux-numa-owner@vger.kernel.org List-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: cpw@sgi.com Cc: linux-numa@vger.kernel.org, Andi Kleen From: Andi Kleen This fixes the test suite on systems that force THP, because the node hit accounting cannot deal with large pages. --- test/regress | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/regress b/test/regress index 9737bd5..05eff5b 100755 --- a/test/regress +++ b/test/regress @@ -79,8 +79,8 @@ probe_hardware() # ========================================================================= _test_process_state() { - echo '=>testing numactl' "$@" "memhog $SIZE" - numactl "$@" memhog $SIZE || failed + echo '=>testing numactl' "$@" "memhog -H $SIZE" + numactl "$@" memhog -H $SIZE || failed } test_process_state() @@ -132,8 +132,8 @@ test_process_state() # test mbind _test_mbind() { - echo '=>testing memhog' "$@" - memhog $SIZE "$@" || failed + echo '=>testing memhog -H' "$@" + memhog -H $SIZE "$@" || failed } test_mbind() -- 1.7.5.4