From 36cfa7d4f8a16f9597d6f4b9f3421aa7330c148c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Sun, 29 Sep 2002 04:05:18 +0000 Subject: [PATCH] The USE_WALL setting currently doesn't work, because vm_translation_map_create() checks if the kmalloc()'d page is aligned - maybe we should just disable the USE_WALL setting if size is PAGE_SIZE for now... git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1264 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/core/heap.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/kernel/core/heap.c b/src/kernel/core/heap.c index ab21a7aca8..fde8d9e2e1 100644 --- a/src/kernel/core/heap.c +++ b/src/kernel/core/heap.c @@ -29,7 +29,10 @@ /* check if freed pointers are already freed */ #define PARANOID_KFREE 1 /* use a back and front wall around each allocation */ -#define USE_WALL 1 +/* does currently not work correctly, because the VM malloc()s a PAGE_SIZE and + * later checks if the returned address is aligned... + */ +#define USE_WALL 0 // heap stuff