Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750717AbVKYH2j (ORCPT ); Fri, 25 Nov 2005 02:28:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751413AbVKYH2j (ORCPT ); Fri, 25 Nov 2005 02:28:39 -0500 Received: from e36.co.us.ibm.com ([32.97.110.154]:8411 "EHLO e36.co.us.ibm.com") by vger.kernel.org with ESMTP id S1750717AbVKYH2i (ORCPT ); Fri, 25 Nov 2005 02:28:38 -0500 Date: Fri, 25 Nov 2005 13:04:23 +0530 From: Dinakar Guniguntala To: david singleton Cc: "David F. Carlson" , linux-kernel@vger.kernel.org, Ingo Molnar Subject: Re: PI BUG with -rt13 Message-ID: <20051125073423.GA4825@in.ibm.com> Reply-To: dino@in.ibm.com References: <20051118132715.GA3314@elte.hu> <8311ADE9-5855-11DA-BBAB-000A959BB91E@mvista.com> <20051118174454.GA2793@elte.hu> <43822480.6080301@mvista.com> <20051121212653.GA6143@elte.hu> <20051124145734.GA2717@elte.hu> <20051124202637.GB9098@in.ibm.com> <20051124203250.GA9086@in.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1582 Lines: 40 On Thu, Nov 24, 2005 at 08:56:06PM -0800, david singleton wrote: > On Nov 24, 2005, at 12:32 PM, Dinakar Guniguntala wrote: > > >>I just noticed with the above fix, Paul's testcase completely > >>hangs up and when killed I hit the BUG mentioned below. > >>Till -rt13, this testcase just ran to completion > > > >Forgot to mention that I notice the same failure with -rt15 as well > > Good news and bad news. > Good news. This test doesn't exercise the robust futex code. > Pthread mutexes that want priority queuing, priority inheritance and/or > robustness must have either the robust (PTHREAD_MUTEX_ROBUST_NP) > attribute set and/or the PTHREAD_PRIO_INHERIT attribute set at mutex > creation time. Davi, Thank you for looking into this Yes, this particular testcase does not exercise the robust futex code. However, the testcase only hangs when I apply your fix on top of -rt13. A Vanilla -rt13 works fine > Now a question before the bad news, Are you in the OOM path when you > think the system is hung? What does 'top' say about freemem and > available and used swap space? Since one of the threads is a SCHED_FIFO, the system takes forever to respond to simple commands like ls/ps. I'll get back on this > > If you are not in the OOM path then the bad news is this looks like an > SMP timer problem. > -Dinakar - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/