|
Bugzilla – Full Text Bug Listing |
| Summary: | numactl -preferred does not issue a warning/error in case of incorrect parameters | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Gerald Pfeifer <gp> |
| Component: | Basesystem | Assignee: | Andreas Kleen <ak> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | RC 1 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | All | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
I added a check for trailing garbage on the number in mainline. |
The man page for numactl states the following: --preferred=node Preferably allocate memory on node, but if memory cannot be allocated there fall back to other nodes. This option takes only a single node number. And indeed when invoking numactl with --preferred=1-3, the preferred node is set to 1. However, no warning/error is issued to notify the user that the invocation as such was incorrect. Adding a check and informing the user would be nice.