Merge "16k: Get the page size dynamically" into main
This commit is contained in:
commit
1a69b9e991
@ -276,8 +276,8 @@ public final class ProcessList {
|
||||
// don't have an oom adj assigned by the system).
|
||||
public static final int NATIVE_ADJ = -1000;
|
||||
|
||||
// Memory pages are 4K.
|
||||
static final int PAGE_SIZE = 4 * 1024;
|
||||
// Memory page size.
|
||||
static final int PAGE_SIZE = (int) Os.sysconf(OsConstants._SC_PAGESIZE);
|
||||
|
||||
// Activity manager's version of Process.THREAD_GROUP_BACKGROUND
|
||||
static final int SCHED_GROUP_BACKGROUND = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user