Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754220AbaLARxS (ORCPT ); Mon, 1 Dec 2014 12:53:18 -0500 Received: from mail-qg0-f53.google.com ([209.85.192.53]:50725 "EHLO mail-qg0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751966AbaLARxR (ORCPT ); Mon, 1 Dec 2014 12:53:17 -0500 MIME-Version: 1.0 In-Reply-To: <20141201171036.GH18466@arm.com> References: <20141118215540.GD35311@redhat.com> <20141119021902.GA14216@redhat.com> <20141119145902.GA13387@redhat.com> <546D0530.8040800@mit.edu> <20141120152509.GA5412@redhat.com> <20141125122217.GA15280@arm.com> <20141201114854.GB18466@arm.com> <20141201171036.GH18466@arm.com> Date: Mon, 1 Dec 2014 09:53:16 -0800 X-Google-Sender-Auth: 9Jpi6m7QfzKnv1ON3QUpMg6JocM Message-ID: Subject: Re: frequent lockups in 3.18rc4 From: Linus Torvalds To: Will Deacon , Tejun Heo Cc: Dave Jones , Andy Lutomirski , Don Zickus , Thomas Gleixner , Linux Kernel , "the arch/x86 maintainers" , Peter Zijlstra Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 1, 2014 at 9:10 AM, Will Deacon wrote: > > So I don't even have binfmt-misc compiled in. The two handlers I have are > BINFMT_ELF and BINFMT_SCRIPT, but they both check for headers that we won't > get back from oom_score afaict. Hmm. So I can't even get that "oom_score" file to be executable in the first place, which should mean that execve() should terminate very quickly with an EACCES error. The fact that you have a "flush_work()" that is waiting for completion is interesting. Maybe the odd new thread is a worker thread for some modprobe or similar, and we . There's that whole request_module("binfmt-%04x", *(ushort *)(bprm->buf + 2)) which ends up creating a new work. Maybe the flush_work() is waiting for that whole mess. Adding Tejun to the cc, since there *were* changes to workqueues etc since 3.16.. Tejun, full thread on lkml, I'm assuming you can find it in your mail archives.. Linus -- 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/