![]() ANBZ: #6190 By adjusting cpuectlr configuration, software performance can be improved. This patch provides some sysfs percpu interfaces for users to modify cpuectlr configurations. These interfaces are unique to the ARM Neoverse N2 core, read and write permissions are determined by kvm or bios. These interfaces are placed under /sys/devices/system/cpu/cpuX/cpuectlr/ These sysfs interfaces are: cmc_min_ways: how many ways of L2 cache can be used by CMC inst_res_ways_l2: how many ways of L2 cache reserverd for inst prefetchtgt_ld_st: prefetchtgt generation mode for requests from the Load-Store unit ws_threshold_l2: Threshold for write stream to L2 cache ws_threshold_l3: Threshold for write stream to L3 cache ws_threshold_l4: Threshold for write stream to L4 cache ws_threshold_dram: Threshold for write stream to DRAM prefetch_disable: enable or disable prefetches prefetch_sts_disable:enable or disable store-stride prefetch prefetch_sti_disable:enable or disable store prefetch at issue Signed-off-by: Feng Su <sufeng@linux.alibaba.com> Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com> Link: https://gitee.com/anolis/cloud-kernel/pulls/2085 |
||
---|---|---|
Documentation | ||
LICENSES | ||
anolis | ||
arch | ||
block | ||
certs | ||
crypto | ||
drivers | ||
fs | ||
include | ||
init | ||
ipc | ||
kernel | ||
lib | ||
mm | ||
net | ||
samples | ||
scripts | ||
security | ||
sound | ||
tools | ||
usr | ||
virt | ||
.clang-format | ||
.cocciconfig | ||
.get_maintainer.ignore | ||
.gitattributes | ||
.gitignore | ||
.mailmap | ||
COPYING | ||
CREDITS | ||
Kbuild | ||
Kconfig | ||
MAINTAINERS | ||
Makefile | ||
README |
README
Linux kernel ============ There are several guides for kernel developers and users. These guides can be rendered in a number of formats, like HTML and PDF. Please read Documentation/admin-guide/README.rst first. In order to build the documentation, use ``make htmldocs`` or ``make pdfdocs``. The formatted documentation can also be read online at: https://www.kernel.org/doc/html/latest/ There are various text files in the Documentation/ subdirectory, several of them using the Restructured Text markup notation. Please read the Documentation/process/changes.rst file, as it contains the requirements for building and running the kernel, and information about the problems which may result by upgrading your kernel.