Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f83403fd authored by Ganesh Mahendran's avatar Ganesh Mahendran Committed by android-build-merger
Browse files

Merge "libbinder: use sysconf(_SC_PAGESIZE) to get pagesize"

am: b638bf8d

Change-Id: I90088d0769cfe337b2c2c5c308f5fa7e832ca4df
parents 9d4819ff b638bf8d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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

// -------------------------------------------------------------------------