From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx198.postini.com [74.125.245.198]) by kanga.kvack.org (Postfix) with SMTP id 17B0A6B0034 for ; Tue, 3 Sep 2013 04:57:16 -0400 (EDT) Received: by mail-bk0-f50.google.com with SMTP id mz11so1956791bkb.37 for ; Tue, 03 Sep 2013 01:57:14 -0700 (PDT) Message-ID: <5225A466.2080303@colorfullife.com> Date: Tue, 03 Sep 2013 10:57:10 +0200 From: Manfred Spraul MIME-Version: 1.0 Subject: Re: ipc-msg broken again on 3.11-rc7? References: <1372202983.1888.22.camel@buesod1.americas.hpqcorp.net> <521DE5D7.4040305@synopsys.com> <52205597.3090609@synopsys.com> <5224BCF6.2080401@colorfullife.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Vineet Gupta Cc: Linus Torvalds , Davidlohr Bueso , Sedat Dilek , Davidlohr Bueso , linux-next , LKML , Stephen Rothwell , Andrew Morton , linux-mm , Andi Kleen , Rik van Riel , Jonathan Gonzalez On 09/03/2013 10:44 AM, Vineet Gupta wrote: >> b) Could you check that it is not just a performance regression? >> Does ./msgctl08 1000 16 hang, too? > Nope that doesn't hang. The minimal configuration that hangs reliably is msgctl > 50000 2 > > With this config there are 3 processes. > ... > 555 554 root S 1208 0.4 0 0.0 ./msgctl08 50000 2 > 554 551 root S 1208 0.4 0 0.0 ./msgctl08 50000 2 > 551 496 root S 1208 0.4 0 0.0 ./msgctl08 50000 2 > ... > > [ARCLinux]$ cat /proc/551/stack > [<80aec3c6>] do_wait+0xa02/0xc94 > [<80aecad2>] SyS_wait4+0x52/0xa4 > [<80ae24fc>] ret_from_system_call+0x0/0x4 > > [ARCLinux]$ cat /proc/555/stack > [<80c2950e>] SyS_msgrcv+0x252/0x420 > [<80ae24fc>] ret_from_system_call+0x0/0x4 > > [ARCLinux]$ cat /proc/554/stack > [<80c28c82>] do_msgsnd+0x116/0x35c > [<80ae24fc>] ret_from_system_call+0x0/0x4 > > Is this a case of lost wakeup or some such. I'm running with some more diagnostics > and will report soon ... What is the output of ipcs -q? Is the queue full or empty when it hangs? I.e. do we forget to wake up a receiver or forget to wake up a sender? -- Manfred -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org