public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC][PATCHv2] Fixing POSIX wait queue to insert in task priority order for real-time, including normal tasks
@ 2017-12-06  1:15 Jonathan Haws
  2017-12-06  1:23 ` Jonathan Haws
  2017-12-11 14:30 ` Steven Rostedt
  0 siblings, 2 replies; 5+ messages in thread
From: Jonathan Haws @ 2017-12-06  1:15 UTC (permalink / raw)
  To: linux-kernel; +Cc: Jonathan Haws

Signed-off-by: Jonathan Haws <jhaws@sdl.usu.edu>
---
 ipc/mqueue.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ipc/mqueue.c b/ipc/mqueue.c
index 9649ecd..cb96db9 100644
--- a/ipc/mqueue.c
+++ b/ipc/mqueue.c
@@ -546,7 +546,7 @@ static void wq_add(struct mqueue_inode_info *info, int sr,
 	ewp->task = current;
 
 	list_for_each_entry(walk, &info->e_wait_q[sr].list, list) {
-		if (walk->task->static_prio <= current->static_prio) {
+		if (walk->task->prio <= current->prio) {
 			list_add_tail(&ewp->list, &walk->list);
 			return;
 		}
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-12-11 15:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-06  1:15 [RFC][PATCHv2] Fixing POSIX wait queue to insert in task priority order for real-time, including normal tasks Jonathan Haws
2017-12-06  1:23 ` Jonathan Haws
2017-12-11 14:30 ` Steven Rostedt
2017-12-11 15:13   ` Jonathan Haws
2017-12-11 15:57     ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox