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

Commit 9981aced authored by Juan Yescas's avatar Juan Yescas Committed by Automerger Merge Worker
Browse files

Merge "16k: Get the page size dynamically" into main am: 1a69b9e9

parents ff4aaec1 1a69b9e9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -281,8 +281,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 an undefined schedule group
    static final int SCHED_GROUP_UNDEFINED = Integer.MIN_VALUE;