[PATCH 2/4] test: self: mmu: reduce MMU test region size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This reduces runtime of the tests and additionally may help to catch
future alignment issues by decreasing the alignment to the minimum
required.

Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
---
 test/self/mmu.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/self/mmu.c b/test/self/mmu.c
index 850c9f336f89..ca58d718ffb3 100644
--- a/test/self/mmu.c
+++ b/test/self/mmu.c
@@ -10,8 +10,8 @@
 #include <zero_page.h>
 #include <linux/sizes.h>
 
-#define TEST_BUFFER_SIZE		SZ_8M
-#define TEST_BUFFER_ALIGN		SZ_2M
+#define TEST_BUFFER_SIZE		SZ_1M
+#define TEST_BUFFER_ALIGN		SZ_4K
 
 BSELFTEST_GLOBALS();
 
-- 
2.39.2





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux