[PATCH 2/4] test: self: mmu: reduce MMU test region size
Ahmad Fatoum
a.fatoum at pengutronix.de
Mon Oct 9 04:52:55 PDT 2023
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 at pengutronix.de>
---
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
More information about the barebox
mailing list