Bug 483706 - chrt output buglet when reporting scheduling class.
Summary: chrt output buglet when reporting scheduling class.
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: util-linux-ng
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Karel Zak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-02-03 06:09 UTC by Valdis Kletnieks
Modified: 2009-02-03 09:21 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-02-03 09:21:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Valdis Kletnieks 2009-02-03 06:09:42 UTC
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 09:21:33 UTC
You're right. Thanks a lot!


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