Bug 483706 - chrt output buglet when reporting scheduling class.
chrt output buglet when reporting scheduling class.
Status: CLOSED UPSTREAM
Product: Fedora
Classification: Fedora
Component: util-linux-ng (Show other bugs)
rawhide
All Linux
low Severity medium
: ---
: ---
Assigned To: Karel Zak
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-02-03 01:09 EST by Valdis Kletnieks
Modified: 2009-02-03 04:21 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-02-03 04:21:33 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Valdis Kletnieks 2009-02-03 01:09:42 EST
Description of problem:

% cat > foo.c
int main(int argc, char *argv[])
{
  for (;;);
  return 0;
}
^D
% gcc foo.c
% chrt -i 0 ./a.out &
[1] 60479
% chrt -p 60479
pid 60479's current scheduling policy: SCHED_IDLE
SCHED_RR
pid 60479's current scheduling priority: 0

We have a spurious and incorrect SCHED_RR in there - I suspect a missing 'break;' in a case statement?

Version-Release number of selected component (if applicable):
util-linux-ng-2.14.2-0.2.fc11.x86_64

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 Karel Zak 2009-02-03 04:21:33 EST
You're right. Thanks a lot!

Note You need to log in before you can comment on or make changes to this bug.