Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp586702rwb; Mon, 26 Sep 2022 03:18:42 -0700 (PDT) X-Google-Smtp-Source: AMsMyM75uwjTGa7iRehuRJKLKzk3D711zfICtycwK54fFNws6TDpjAFFhmbYzoTOexof0ll4GCKj X-Received: by 2002:a05:6402:4305:b0:451:7b78:f2e0 with SMTP id m5-20020a056402430500b004517b78f2e0mr22104315edc.342.1664187518921; Mon, 26 Sep 2022 03:18:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664187518; cv=none; d=google.com; s=arc-20160816; b=Y5IM6K0pSoOfCoTlE+eNKow9VEqPXg91WiAKfrXBTt08EUS9sQ0TDeAPDj96ot08Ul 4aTMUFX9VUZrWjSDOTggd2IJ1EqEJWaP8CPNoyx2Noy8xYLT13Z7T9OapgASsiQbgMRG J2jomfuycEgfn+X1G5EWYoJXSsuw7f9337mU9D3edME1vG7YYEOxekcooBsfiQW8vmPB otmzifAk5JmWT8oIf8wTc5rnM9rok+jcjbqHP+2A9sd83kndQgzp/ERmz45N/z6pv/jf 41mL+af1UPcRkhwx8+YVAqb1UTFIp3fRsURXlsje6k6RnO4tCtJ6RJehKqvkUTxfSe7n 71kA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=101CtziK3Lse0NC5U3ndczCMKJ2y8A0Sg4yLJrCXqz8=; b=C3j3tR7gMlL/mJs6izJhgqNNLMHqhowsZyfinqqx/491iWz5FadQw2YCdDaV+H0+f7 Ts2IbIw+eiyOnUb1UGuT5WDYz8jbVPhdx6sTWdA37YDwR3Law0ikjS1btrGofH+V+aAv 93fRMCH9C7Bji+exr82CO7L/CZ0AOKm3bxFAnebB9c6iXK2sw6xNseplAfGAxHOdX5oR b1bJQLxsEvAs25SiEvDUgmmqKo41Hqpa/DAsjYz+I79oGR8HZK7XQnSOZOZLZk9yAlK1 ZImc8KITdTFPkbNtbEOhUI8hUFVyC/6xC+akO2+f4yas/JofTTBLHe2c4Ca8cBR3ysoD 6VSg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v11-20020a17090606cb00b0072ab4b5ffe5si12294048ejb.987.2022.09.26.03.18.10; Mon, 26 Sep 2022 03:18:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234870AbiIZKGE (ORCPT + 99 others); Mon, 26 Sep 2022 06:06:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233902AbiIZKGB (ORCPT ); Mon, 26 Sep 2022 06:06:01 -0400 Received: from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc [IPv6:2a0a:51c0:0:12e:520::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F5E6371BD; Mon, 26 Sep 2022 03:06:00 -0700 (PDT) Received: from fw by Chamillionaire.breakpoint.cc with local (Exim 4.92) (envelope-from ) id 1ockzm-0003bT-DZ; Mon, 26 Sep 2022 12:05:50 +0200 Date: Mon, 26 Sep 2022 12:05:50 +0200 From: Florian Westphal To: Herbert Xu Cc: Florian Westphal , netdev@vger.kernel.org, tgraf@suug.ch, urezki@gmail.com, Paolo Abeni , "David S. Miller" , Eric Dumazet , Jakub Kicinski , linux-kernel@vger.kernel.org, akpm@linux-foundation.org, Martin Zaharinov , Michal Hocko , Paolo Bonzini , kvm@vger.kernel.org Subject: Re: [PATCH net] rhashtable: fix crash due to mm api change Message-ID: <20220926100550.GA12777@breakpoint.cc> References: <20220926083139.48069-1-fw@strlen.de> <20220926085018.GA11304@breakpoint.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Herbert Xu wrote: > On Mon, Sep 26, 2022 at 10:50:18AM +0200, Florian Westphal wrote: > > Herbert Xu wrote: > > > On Mon, Sep 26, 2022 at 10:31:39AM +0200, Florian Westphal wrote: > > > > > > > > This patch is partial revert of > > > > commit 93f976b5190d ("lib/rhashtable: simplify bucket_table_alloc()"), > > > > to avoid kvmalloc for ATOMIC case. > > > > > > This patch should just be reverted. If kvzalloc fails we should > > > definitely know about it. > > > > No idea what you mean, I am no mind reader. Please consider > > fixing this yourself, I am done with this crap. > > I just meant that the patch quoted above should be completely > reverted instead of partially reverted. I don't understand that at all, since this means removal of __GFP_NOWARN -- that makes no sense to me.