linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Fwd: Re: 2.6.31.4-rt14 posix message queues problem (solved)]
@ 2009-10-16  8:25 Joerg Abraham
  0 siblings, 0 replies; only message in thread
From: Joerg Abraham @ 2009-10-16  8:25 UTC (permalink / raw)
  To: linux-rt-users

forgot to cc rt-users list

Thanx again,


Hi John,

> Hello Joerg
> 
> Does the following patch solve your problem? 

yes, (verified on powerpc and x86_64)

so it may be save to include your patch into the next rt release.

Thanx,

Joerg


> 
> From 69fde4357db4a054733cbca4158606160e821a3a Mon Sep 17 00:00:00 2001
> From: John Kacur <jkacur@redhat.com>
> Date: Thu, 15 Oct 2009 20:52:37 +0200
> Subject: [PATCH] preempt_disable_rt(); should be paired with preempt_enable_rt()
> 
> Signed-off-by: John Kacur <jkacur@redhat.com>
> ---
>  ipc/mqueue.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/ipc/mqueue.c b/ipc/mqueue.c
> index 63a47f7..ab4df36 100644
> --- a/ipc/mqueue.c
> +++ b/ipc/mqueue.c
> @@ -830,7 +830,7 @@ static inline void pipelined_send(struct mqueue_inode_info *info,
>  	wake_up_process(receiver->task);
>  	smp_wmb();
>  	receiver->state = STATE_READY;
> -	preempt_enable_nort();
> +	preempt_enable_rt();
>  }
>  
>  /* pipelined_receive() - if there is task waiting in sys_mq_timedsend()


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-10-16  8:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-16  8:25 [Fwd: Re: 2.6.31.4-rt14 posix message queues problem (solved)] Joerg Abraham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).