Annotation of /trunk/kernel26-magellan/patches-2.6.16-r12/0015-2.6.16-rt_ionice.diff
Parent Directory | Revision Log
Revision 72 -
(hide annotations)
(download)
Mon Jun 5 09:25:38 2006 UTC (18 years, 3 months ago) by niro
File size: 610 byte(s)
Mon Jun 5 09:25:38 2006 UTC (18 years, 3 months ago) by niro
File size: 610 byte(s)
ver bump to 2.6.16-r12: - updated to linux-2.6.16.19 - updated to ck11
1 | niro | 72 | include/linux/ioprio.h | 2 +- |
2 | 1 files changed, 1 insertion(+), 1 deletion(-) | ||
3 | |||
4 | Index: linux-2.6.16-ck1/include/linux/ioprio.h | ||
5 | =================================================================== | ||
6 | --- linux-2.6.16-ck1.orig/include/linux/ioprio.h 2006-03-20 20:46:52.000000000 +1100 | ||
7 | +++ linux-2.6.16-ck1/include/linux/ioprio.h 2006-03-20 20:46:52.000000000 +1100 | ||
8 | @@ -57,7 +57,7 @@ static inline int task_nice_ioprio(struc | ||
9 | |||
10 | if (idleprio_task(task)) | ||
11 | effective_nice = 19; | ||
12 | - else if (iso_task(task)) | ||
13 | + else if (rt_task(task) || iso_task(task)) | ||
14 | effective_nice = -20; | ||
15 | return (effective_nice + 20) / 5; | ||
16 | } |