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

Commit eb8be8f5 authored by Isaac Chen's avatar Isaac Chen Committed by android-build-merger
Browse files

Merge "Removed build time variable ENABLE_CPUSETS." am: 52a60e08

am: 33f4b64f

Change-Id: Ia6f3940b52c28741a43be171c930d0cdd77fb454
parents b40360f7 33f4b64f
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -159,10 +159,6 @@ LOCAL_CFLAGS := -DLOG_TAG=\"SurfaceFlinger\"

LOCAL_INIT_RC := surfaceflinger.rc

ifneq ($(ENABLE_CPUSETS),)
    LOCAL_CFLAGS += -DENABLE_CPUSETS
endif

ifeq ($(TARGET_USES_HWC2),true)
    LOCAL_CFLAGS += -DUSE_HWC2
endif
+1 −3
Original line number Diff line number Diff line
@@ -45,12 +45,10 @@ int main(int, char**) {

    set_sched_policy(0, SP_FOREGROUND);

#ifdef ENABLE_CPUSETS
    // Put most SurfaceFlinger threads in the system-background cpuset
    // Keeps us from unnecessarily using big cores
    // Do this after the binder thread pool init
    set_cpuset_policy(0, SP_SYSTEM);
#endif
    if (cpusets_enabled()) set_cpuset_policy(0, SP_SYSTEM);

    // initialize before clients can connect
    flinger->init();