Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor fixes #90

Merged
merged 2 commits into from
Jun 23, 2020
Merged

Minor fixes #90

merged 2 commits into from
Jun 23, 2020

Conversation

bwidawsk
Copy link
Contributor

These are some minor fixes/improvements I made in preparation for a larger series which isn't yet ready for a PR.

Ben Widawsky added 2 commits June 18, 2020 14:07
Signed-off-by: Ben Widawsky <ben.widawsky@intel.com>
AFAICT in the git history, numa_preferred would never return -1. So the
existing logic is unnecessary. Replace it with simpler logic.

Signed-off-by: Ben Widawsky <ben.widawsky@intel.com>
Copy link
Contributor

@andikleen andikleen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't that break kernels before 3.10?

If you do it you would need a check for the old kernels. Probably not worth the effort.

@bwidawsk
Copy link
Contributor Author

It would. My thought on it was that kernel was released 8 years ago and the breakage for people would be minimal. It's certainly fine to not accept that. There's a couple other minor changes too though.

If you're so inclined to check my prefer-many branch, I do auto detection of the new uapi.

@andikleen
Copy link
Contributor

andikleen commented Jun 19, 2020 via email

@bwidawsk bwidawsk changed the title Disambiguate preferred, and local. Minor fixes Jun 23, 2020
@bwidawsk bwidawsk requested a review from andikleen June 23, 2020 02:21
@andikleen andikleen merged commit 600ec8f into numactl:master Jun 23, 2020
@andikleen
Copy link
Contributor

Thanks!

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