mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
SBalance's statistic of new interrupts for each CPU is inherently flawed in that it cannot track IRQ migration that occurs in between balance periods. As a result, SBalance can observe a flawed number of new interrupts for a CPU, which hurts its balancing decisions. Furthermore, SBalance incorrectly assumes that IRQs are affined where SBalance last placed them, which breaks SBalance entirely when the assumption doesn't hold true. As it turns out, it can be quite common to change an IRQ's affinity and observe a successful return value despite the IRQ not actually moving. At the very least this is observed on ARM's GICv3, and results in SBalance never moving such an IRQ ever again because SBalance always thinks it has zero new interrupts. Since we can't trust irqchip drivers or hardware, gather IRQ statistics directly in order to get the true number of new interrupts for each CPU and the actual affinity of each IRQ based on the last CPU it fired upon. Change-Id: Ic846adac244a0873c4502987e0904b552ab31f22 Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com> Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
…
…
…
…
…
…
…
Linux kernel ============ This file was moved to Documentation/admin-guide/README.rst Please notice that there are several guides for kernel developers and users. These guides can be rendered in a number of formats, like HTML and PDF. In order to build the documentation, use ``make htmldocs`` or ``make pdfdocs``. There are various text files in the Documentation/ subdirectory, several of them using the Restructured Text markup notation. See Documentation/00-INDEX for a list of what is contained in each file. 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.
Description
Languages
C
98.1%
Assembly
1.2%
Makefile
0.3%