Re: 2.6.24.7-rt18

From: Ankita Garg
Date: Wed Sep 10 2008 - 02:07:23 EST


Hi Steven,

On Tue, Sep 09, 2008 at 11:44:42PM -0400, Steven Rostedt wrote:
> We are pleased to announce the 2.6.24.7-rt18 tree, which can be
> downloaded from the location:
>
> http://rt.et.redhat.com/download/
>
> Information on the RT patch can be found at:
>
> http://rt.wiki.kernel.org/index.php/Main_Page
>
> Changes since 2.6.24.7-rt17
>
> - seqlock serialize writes (Gregory Haskins)
>
> - Fix above patch that broke non PREEMPT_RT (Steven Rostedt)
>
> - Add sysctl to warn on RT task using non PI futex (Steven Rostedt)
>

A trivial patch to remove the hard coded value of MAX_RT_PRIO in the
above patch.

Signed-off-by: Ankita Garg <ankita@xxxxxxxxxx>

Index: linux-2.6.26.5/kernel/futex.c
===================================================================
--- linux-2.6.26.5.orig/kernel/futex.c 2008-09-09 22:58:19.000000000 -0700
+++ linux-2.6.26.5/kernel/futex.c 2008-09-09 22:58:38.000000000 -0700
@@ -1241,7 +1241,7 @@
"RT task %s:%d with priority %d"
" using non PI futex\n",
current->comm, current->pid,
- 100 - current->prio);
+ MAX_RT_PRIO - current->prio);
}
}

--
Regards,
Ankita Garg (ankita@xxxxxxxxxx)
Linux Technology Center
IBM India Systems & Technology Labs,
Bangalore, India
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/