Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932072AbaLDKvA (ORCPT ); Thu, 4 Dec 2014 05:51:00 -0500 Received: from foss-mx-na.foss.arm.com ([217.140.108.86]:44591 "EHLO foss-mx-na.foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753509AbaLDKu6 (ORCPT ); Thu, 4 Dec 2014 05:50:58 -0500 Date: Thu, 4 Dec 2014 10:51:03 +0000 From: Will Deacon To: Linus Torvalds Cc: "Kirill A. Shutemov" , Tejun Heo , Dave Jones , Andy Lutomirski , Don Zickus , Thomas Gleixner , Linux Kernel , the arch/x86 maintainers , Peter Zijlstra Subject: Re: frequent lockups in 3.18rc4 Message-ID: <20141204105103.GD14519@arm.com> References: <20141119145902.GA13387@redhat.com> <546D0530.8040800@mit.edu> <20141120152509.GA5412@redhat.com> <20141125122217.GA15280@arm.com> <20141201114854.GB18466@arm.com> <20141201171036.GH18466@arm.com> <20141201182519.GA16749@node.dhcp.inet.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 01, 2014 at 06:36:04PM +0000, Linus Torvalds wrote: > On Mon, Dec 1, 2014 at 10:25 AM, Kirill A. Shutemov > wrote: > > > > No idea about oom_score, but kernel happily accepts chmod on any file > > under /proc/PID/net/. > > /proc used to accept that fairly widely, but no, we tightened things > down, and core /proc files end up not accepting chmod. See > 'proc_setattr()': > > if (attr->ia_valid & ATTR_MODE) > return -EPERM; > > although particular /proc files could choose to not use 'proc_setattr' > if they want to. > > The '/proc/pid/net' subtree is obviously not doing that. No idea why, > and probably for no good reason. I just hit another one of these, but it's slightly different this time: [child1:811] [2219] execve(name="/proc/610/attr/keycreate", argv=0x3a044bf0, envp=0x3a04c810) this guy disappears off into the execve and never returns. A little later, another guy gets stuck on a completion after a sync: [child0:856] [155] sync() trinity-c0 D ffffffc000087570 0 856 612 0x00000000 Call trace: [] __switch_to+0x74/0x8c [] __schedule+0x204/0x670 [] schedule+0x24/0x74 [] schedule_timeout+0x134/0x18c [] wait_for_common+0x9c/0x144 [] wait_for_completion+0x10/0x1c [] sync_inodes_sb+0x98/0x194 [] sync_inodes_one_sb+0x10/0x1c [] iterate_supers+0x10c/0x114 [] sys_sync+0x38/0xa4 The backtrace for 811 looks bogus to me (or we're missing some entries): trinity-c1 R running task 0 811 612 0x00000000 Call trace: [] __switch_to+0x74/0x8c [] __handle_domain_irq+0x9c/0xf4 [] __this_cpu_preempt_check+0x14/0x20 [] _raw_spin_lock_irq+0x18/0x58 [] _raw_spin_unlock_irq+0x1c/0x48 [] run_timer_softirq+0x68/0x240 [] __do_softirq+0x110/0x244 [] debug_smp_processor_id+0x18/0x24 and, as before, it has a weird child process that I can't backtrace: trinity-c1 R running task 0 861 811 0x00000000 Call trace: The RCU stall detector gets cross too, but the stall ends before it has a chance to dump anything. Will -- 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/