Ref #82. Disable outputing debug information in alloc_mmap.
This commit is contained in:
parent
91ce66a0a8
commit
0b89a7a92d
|
@ -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){
|
||||||
|
|
Loading…
Reference in New Issue