From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752732AbcF3RzN (ORCPT ); Thu, 30 Jun 2016 13:55:13 -0400 Received: from mail-it0-f67.google.com ([209.85.214.67]:35519 "EHLO mail-it0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751207AbcF3RzL (ORCPT ); Thu, 30 Jun 2016 13:55:11 -0400 MIME-Version: 1.0 In-Reply-To: <20160630165248.GB4650@linux.vnet.ibm.com> References: <20160629164415.GG4650@linux.vnet.ibm.com> <20160629181208.GP4650@linux.vnet.ibm.com> <20160630074710.GC30114@js1304-P5Q-DELUXE> <20160630132401.GT4650@linux.vnet.ibm.com> <20160630151838.GW4650@linux.vnet.ibm.com> <20160630165248.GB4650@linux.vnet.ibm.com> From: Geert Uytterhoeven Date: Thu, 30 Jun 2016 19:54:56 +0200 X-Google-Sender-Auth: Iijd80QrQ-pCmwowSNxkw8cq0YI Message-ID: Subject: Re: Boot failure on emev2/kzm9d (was: Re: [PATCH v2 11/11] mm/slab: lockless decision to grow cache) To: Paul McKenney Cc: Joonsoo Kim , Linux-Renesas , Andrew Morton , David Rientjes , "linux-kernel@vger.kernel.org" , Pekka Enberg , Linux MM , Jesper Dangaard Brouer , Christoph Lameter , "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Paul, On Thu, Jun 30, 2016 at 6:52 PM, Paul E. McKenney wrote: > On Thu, Jun 30, 2016 at 05:53:42PM +0200, Geert Uytterhoeven wrote: >> +void rcu_dump_rcu_sched_tree(void) >> +{ >> + struct rcu_head rh; >> + unsigned long flags; >> + >> + rcu_dump_rcu_node_tree(&rcu_sched_state); /* Initial state. */ >> + local_irq_save(flags); >> + // call_rcu(&rh, do_nothing_cb); >> + local_irq_restore(flags); >> + // schedule_timeout_uninterruptible(5 * HZ); /* Or whatever delay. */ >> + rcu_dump_rcu_node_tree(&rcu_sched_state); /* GP state. */ >> + //synchronize_sched(); /* Probably hangs. */ >> + //rcu_barrier(); /* Drop RCU's references to rh before return. */ >> +} >> >> When enabling any of the 4 commented-out lines in rcu_dump_rcu_sched_tree(), >> it will lock up. > > OK, but that includes schedule_timeout_uninterruptible(5 * HZ), right? Yes it does. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds