Skip to content

Commit

Permalink
activate_mapping: do not ban irq on failure
Browse files Browse the repository at this point in the history
If smp_affinity cannot be enforced on a given IRQ, do not ban it for the
rest of the process' life. Only log the warning and let irqbalance try
again later.

Signed-off-by: Robin Jarry <rjarry@redhat.com>
  • Loading branch information
rjarry committed Jul 5, 2023
1 parent 621d19d commit 3c11a53
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions activate.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ static void activate_mapping(struct irq_info *info, void *data __attribute__((un
error:
log(TO_ALL, LOG_WARNING, "cannot change irq %i's affinity: %s. add it to banned list",
info->irq, strerror(errno));
add_banned_irq(info->irq);
remove_one_irq_from_db(info->irq);
}

void activate_mappings(void)
Expand Down

0 comments on commit 3c11a53

Please sign in to comment.