Skip to content

Commit

Permalink
chore: remove dead irqbalance functions
Browse files Browse the repository at this point in the history
The shell functions in profiles/functions related to irqbalance configuration
have been unused since 462df26. Remove them.

Signed-off-by: Adriaan Schmidt <[email protected]>
  • Loading branch information
adriaan42 committed Jul 25, 2024
1 parent 7825b11 commit 71d1597
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions functions
Original file line number Diff line number Diff line change
Expand Up @@ -476,21 +476,6 @@ restore_logs_syncing() {
mv -Z $RSYSLOG_SAVE $RSYSLOG_CFG || mv $RSYSLOG_SAVE $RSYSLOG_CFG
}

irqbalance_banned_cpus_clear() {
sed -i '/^IRQBALANCE_BANNED_CPUS=/d' /etc/sysconfig/irqbalance || return
if [ ${1:-restart} = restart ]; then
systemctl try-restart irqbalance
fi
}

irqbalance_banned_cpus_setup() {
irqbalance_banned_cpus_clear norestart
if [ -n "$1" ]; then
echo "IRQBALANCE_BANNED_CPUS=$1" >> /etc/sysconfig/irqbalance
fi
systemctl try-restart irqbalance
}

#
# HARDWARE SPECIFIC tuning
#
Expand Down

0 comments on commit 71d1597

Please sign in to comment.