Commit 996ee2cf authored by Neil Horman's avatar Neil Horman

re-calibrate some irq classes and levels

Storage and Video devices tend to generate high volumes of interrupts, but we
were balancing them at the cache and sytem levels, which I think was less than
efficient.  Re-calibrate the mapping tables to make them get balanced to a
specific core.
Signed-off-by: 's avatarNeil Horman <nhorman@tuxdriver.com>
parent a3c812eb
......@@ -23,7 +23,7 @@ char *classes[] = {
};
int map_class_to_level[8] =
{ BALANCE_PACKAGE, BALANCE_CACHE, BALANCE_CACHE, BALANCE_NONE, BALANCE_CORE, BALANCE_CORE, BALANCE_CORE, BALANCE_CORE };
{ BALANCE_PACKAGE, BALANCE_CACHE, BALANCE_CORE, BALANCE_CORE, BALANCE_CORE, BALANCE_CORE, BALANCE_CORE, BALANCE_CORE };
#define MAX_CLASS 0x12
......@@ -35,7 +35,7 @@ static short class_codes[MAX_CLASS] = {
IRQ_OTHER,
IRQ_SCSI,
IRQ_ETH,
IRQ_OTHER,
IRQ_VIDEO,
IRQ_OTHER,
IRQ_OTHER,
IRQ_LEGACY,
......
......@@ -16,7 +16,7 @@
#define IRQ_OTHER 0
#define IRQ_LEGACY 1
#define IRQ_SCSI 2
#define IRQ_TIMER 3
#define IRQ_VIDEO 3
#define IRQ_ETH 4
#define IRQ_GBETH 5
#define IRQ_10GBETH 6
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment