Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932192AbbLFDsf (ORCPT ); Sat, 5 Dec 2015 22:48:35 -0500 Received: from shards.monkeyblade.net ([149.20.54.216]:44472 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753989AbbLFDsc (ORCPT ); Sat, 5 Dec 2015 22:48:32 -0500 Date: Sat, 05 Dec 2015 22:48:29 -0500 (EST) Message-Id: <20151205.224829.171477269244585844.davem@davemloft.net> To: herbert@gondor.apana.org.au Cc: eric.dumazet@gmail.com, phil@nwl.cc, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, tgraf@suug.ch, fengguang.wu@intel.com, wfg@linux.intel.com, lkp@01.org Subject: Re: rhashtable: Use __vmalloc with GFP_ATOMIC for table allocation From: David Miller In-Reply-To: <20151205070354.GA23255@gondor.apana.org.au> References: <20151204143956.GA17471@gondor.apana.org.au> <20151204.165334.1119277452308794437.davem@davemloft.net> <20151205070354.GA23255@gondor.apana.org.au> X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Sat, 05 Dec 2015 19:48:32 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 944 Lines: 23 From: Herbert Xu Date: Sat, 5 Dec 2015 15:03:54 +0800 > Sorry Dave but you'll have to revert this because I've been able > to trigger the following crash with the patch: > > Testing concurrent rhashtable access from 50 threads > ------------[ cut here ]------------ > kernel BUG at ../mm/vmalloc.c:1337! > invalid opcode: 0000 [#1] PREEMPT SMP > > The reason is that because I was testing insertions with BH disabled, > and __vmalloc doesn't like that, even with GFP_ATOMIC. As we > obviously want to continue to support rhashtable users inserting > entries with BH disabled, we'll have to look for an alternate > solution. Ok, reverted, thanks for the heads up. -- 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/