aboutsummaryrefslogtreecommitdiff
path: root/libc/malloc_debug/tests/malloc_debug_system_tests.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <pcc@google.com>2021-07-01 15:16:40 -0700
committerPeter Collingbourne <pcc@google.com>2021-07-01 15:39:32 -0700
commit48bf46b968c37cbd76ecd33c98c0f163134beadf (patch)
tree9990b32772203f1424eb4360bc8c814c9587609a /libc/malloc_debug/tests/malloc_debug_system_tests.cpp
parent921b3a4642c2d24e7580ae542ff10e0319a2453d (diff)
Allow the kernel to upgrade ASYNC mode processes to SYNC mode.
On devices where the performance of ASYNC mode is similar to SYNC mode on certain CPUs, OEMs may choose to configure the kernel to prefer SYNC mode on those CPUs by writing the value "sync" to the sysfs node: /sys/devices/system/cpu/cpu<N>/mte_tcf_preferred The kernel will only respect the per-CPU preference if the user program allows this by specifying the preferred mode as a member of a set of allowed modes. Since only kernels with r.android.com/1754670 support specifying multiple modes, fall back to trying to specify a single mode if that doesn't work. Bug: 189966263 Change-Id: Ie7ada3b073178b7967f0819cbdadc2d8e3a2c648
Diffstat (limited to 'libc/malloc_debug/tests/malloc_debug_system_tests.cpp')
0 files changed, 0 insertions, 0 deletions