Skip to content

Conversation

@champtar
Copy link
Contributor

When using the API to ban cpus or irqs, the command can easily be longer than 500, so increase the buffer to 16384, which fits ~3250 cpus or irqs, and add a check to log and exit if it is still not enough.

I went the simple route of just bumping the buffer size, tell me if you prefer a recvmsg + realloc loop or ...

When using the API to ban cpus or irqs, the command can easily be longer
than 500, so increase the buffer to 16384, which fits ~3250 cpus
or irqs, and add a check to log and exit if it is still not enough.

Signed-off-by: Etienne Champetier <[email protected]>
@nhorman nhorman merged commit f45f62c into Irqbalance:master Jan 31, 2025
10 checks passed
@champtar champtar deleted the api-command-len branch January 31, 2025 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants