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
This commit is contained in:
Axel Dörfler 2002-09-29 04:05:18 +00:00
parent 3904aa6bf1
commit 36cfa7d4f8

View File

@ -29,7 +29,10 @@
/* check if freed pointers are already freed */ /* check if freed pointers are already freed */
#define PARANOID_KFREE 1 #define PARANOID_KFREE 1
/* use a back and front wall around each allocation */ /* 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 // heap stuff