Ref #82. Disable outputing debug information in alloc_mmap.

This commit is contained in:
Xianyi Zhang 2012-03-23 18:17:12 +08:00
parent 91ce66a0a8
commit 0b89a7a92d
1 changed files with 1 additions and 2 deletions

View File

@ -389,8 +389,7 @@ static void *alloc_mmap(void *address){
if (map_address != (void *)-1) { if (map_address != (void *)-1) {
#ifdef OS_LINUX #ifdef OS_LINUX
#if 1 #ifdef DEBUG
//#ifdef DEBUG
int ret=0; int ret=0;
ret=my_mbind(map_address, BUFFER_SIZE * SCALING, MPOL_PREFERRED, NULL, 0, 0); ret=my_mbind(map_address, BUFFER_SIZE * SCALING, MPOL_PREFERRED, NULL, 0, 0);
if(ret==-1){ if(ret==-1){