From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751467Ab3LKAFK (ORCPT ); Tue, 10 Dec 2013 19:05:10 -0500 Received: from cdptpa-outbound-snat.email.rr.com ([107.14.166.226]:50414 "EHLO cdptpa-oedge-vip.email.rr.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751036Ab3LKAFH (ORCPT ); Tue, 10 Dec 2013 19:05:07 -0500 Date: Tue, 10 Dec 2013 19:05:04 -0500 From: Steven Rostedt To: Dave Jones , Linus Torvalds , Thomas Gleixner , Oleg Nesterov , Darren Hart , Andrea Arcangeli , Linux Kernel Mailing List , Peter Zijlstra , Mel Gorman Subject: Re: process 'stuck' at exit. Message-ID: <20131211000504.GA13710@home.goodmis.org> References: <20131210203559.GA1209@redhat.com> <20131210204925.GB27373@redhat.com> <20131210213431.GA6342@redhat.com> <20131210214143.GG27373@redhat.com> <20131210230009.GF5050@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131210230009.GF5050@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-RR-Connecting-IP: 107.14.168.142:25 X-Cloudmark-Score: 0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 10, 2013 at 06:00:09PM -0500, Dave Jones wrote: > > The only thing I'm still unclear on, is how that pid allegedly wasn't doing > a futex call as part of its run. The only thing I can think of is that > the other pid that _did_ do a futex call did it on a page that was MAP_SHARED > between all the other children, and this 'spin forever' thing only > happens when the last process with a reference on that page exits ? Which thread did not do the futex call? The one that was spinning? No, that one most definitely was, at least according to the stack trace trace you posted: trinity-child27-10818 [001] 89790.703547: kernel_stack: => futex_requeue (ffffffff810df18a) => do_futex (ffffffff810e019e) => SyS_futex (ffffffff810e0de1) => tracesys (ffffffff81760be4) It did a futex() system call. Or are you talking about another thread? -- Steve