rebalance_interrupts: one shot IRQ rebalancer
authorAndrew Chant <achant@google.com>
Tue, 9 Jun 2020 17:39:14 +0000 (10:39 -0700)
committerJan Altensen (Stricted) <info@stricted.net>
Fri, 21 Jun 2024 04:02:30 +0000 (04:02 +0000)
commitafa22a350435e3f2f8b6fe988dfd0e6ac16fab11
treeece9d1f68d551b196a7af05c369874e77084c891
parentb5e4ed61e1eeca861389e71a34de83bf8d80914e
rebalance_interrupts: one shot IRQ rebalancer

rebalance_interrupts is a one shot IRQ rebalancer.
It scans /sys/kernel/irq for related IRQ actions
that haven't any affinity to a core.  It then assigns
them evenly to the policy0 group cores.

Bug: 148403062
Test: ran "rebalance_interrupts" as root after boot, saw
no additional IRQs rebalanced.  Verified via /proc/interrupts
that interrupts had been distributed.

Change-Id: I76745d4620024a1f21ecf70d11e0c14d2eb85cef
rebalance_interrupts/Android.bp [new file with mode: 0644]
rebalance_interrupts/rebalance_interrupts-samsung.rc [new file with mode: 0644]
rebalance_interrupts/rebalance_interrupts.cpp [new file with mode: 0644]