Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 311503 Details for
Bug 454913
[Realtime][Kernel] LTP test failure in sched_rr_get_interval02 testcase
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch from Miao Xie for fix
linux-2.6.git-1868f958eb56fc41c5985c8732e564a400c5fdf5.patch (text/plain), 1.02 KB, created by
Jeff Burke
on 2008-07-10 18:53:12 UTC
(
hide
)
Description:
Patch from Miao Xie for fix
Filename:
MIME Type:
Creator:
Jeff Burke
Created:
2008-07-10 18:53:12 UTC
Size:
1.02 KB
patch
obsolete
>From: Miao Xie <miaox@cn.fujitsu.com> >Date: Fri, 7 Mar 2008 01:35:06 +0000 (+0800) >Subject: sched: fix the wrong time slice value for SCHED_FIFO tasks >X-Git-Tag: v2.6.25-rc5~13^2~2 >X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=1868f958eb56fc41c5985c8732e564a400c5fdf5 > >sched: fix the wrong time slice value for SCHED_FIFO tasks > >Function sys_sched_rr_get_interval returns wrong time slice value for >SCHED_FIFO tasks. The time slice for SCHED_FIFO tasks should be 0. > >Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> >Signed-off-by: Ingo Molnar <mingo@elte.hu> >--- > >diff --git a/kernel/sched.c b/kernel/sched.c >index 63a469f..5b13e4b 100644 >--- a/kernel/sched.c >+++ b/kernel/sched.c >@@ -5100,7 +5100,7 @@ long sys_sched_rr_get_interval(pid_t pid, struct timespec __user *interval) > time_slice = 0; > if (p->policy == SCHED_RR) { > time_slice = DEF_TIMESLICE; >- } else { >+ } else if (p->policy != SCHED_FIFO) { > struct sched_entity *se = &p->se; > unsigned long flags; > struct rq *rq;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 454913
: 311503