From 0b89a7a92d4464acf90861e715eedc4d6cf85fbf Mon Sep 17 00:00:00 2001 From: Xianyi Zhang Date: Fri, 23 Mar 2012 18:17:12 +0800 Subject: [PATCH] Ref #82. Disable outputing debug information in alloc_mmap. --- driver/others/memory.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/driver/others/memory.c b/driver/others/memory.c index feb45eb58..3f1a5f60a 100644 --- a/driver/others/memory.c +++ b/driver/others/memory.c @@ -389,8 +389,7 @@ static void *alloc_mmap(void *address){ if (map_address != (void *)-1) { #ifdef OS_LINUX -#if 1 - //#ifdef DEBUG +#ifdef DEBUG int ret=0; ret=my_mbind(map_address, BUFFER_SIZE * SCALING, MPOL_PREFERRED, NULL, 0, 0); if(ret==-1){