diff options
Diffstat (limited to 'libs/binder/ProcessState.cpp')
| -rw-r--r-- | libs/binder/ProcessState.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/binder/ProcessState.cpp b/libs/binder/ProcessState.cpp index d42bb82415..5b705013c5 100644 --- a/libs/binder/ProcessState.cpp +++ b/libs/binder/ProcessState.cpp @@ -40,7 +40,7 @@  #include <sys/stat.h>  #include <sys/types.h> -#define BINDER_VM_SIZE ((1*1024*1024) - (4096 *2)) +#define BINDER_VM_SIZE ((1 * 1024 * 1024) - sysconf(_SC_PAGE_SIZE) * 2)  #define DEFAULT_MAX_BINDER_THREADS 15  // -------------------------------------------------------------------------  |