Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp3735257pxb; Mon, 21 Feb 2022 04:53:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJxPRQckVfXZXgUgH10sJEu12OFXXDzQsYdBkVdaUGSLC04vVxOLTuV2/LLcTC9Xc5TmtJrA X-Received: by 2002:a05:6402:190b:b0:412:8cfc:c266 with SMTP id e11-20020a056402190b00b004128cfcc266mr21335444edz.274.1645447991396; Mon, 21 Feb 2022 04:53:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645447991; cv=none; d=google.com; s=arc-20160816; b=ZHYbXfyifcXaMrlimVGKz9w7e/Uyw1xGqKLnggKWRMHZlNOvE3+kcGoYep26HVWOIX AEjSzW+pGdX+92kkpQv4rHyzT2GLzPbUfcnR7tGoEVcss+RWfWTsvz4nMoct0DKv0Gyq GO5lTuSrKZEHZQxtlg722UbPj2xRJ+nfMsdSK+SIHDTvEXjsYVTVBXio8tCkh/ZmKRb/ fuga0T5dK1clOkZrW7KnZ/HOJf/JukfgWoV99ImVJcqZRvoChv3m+6HZisiHguzBwzZP QTLAVCy/4zhEDptzAizvRB2+sbwco+sOL+mgdzHxAYBpDmZE0ZC02NFJTTRHwnONQvnP Sxtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=Q+5iduzBKHHb9Mo8fibaslTwv4OTJRNRbEpov0jzlbA=; b=wZQG+qgAqark53IRShFyKUvdpARNYZoPx0dzEiJ+WwdwvY+w75286+P7YmpxUcfUG7 OspMhagHSHgtQ63ZPNjIJrsCNv+U2XD1X5VO0r0zEW1UZN4j2KmzTtgiMWYhuPG/NT32 GqUzj6fQnoRJm6IRpADWrAUb3JPyxwA8cs7OkGtipVwyLnj0cVVWxmen3hK+M5nOOBzD Sg57Ow0REAyBagj1SP98VObYfyYfV5DfvZXGOBpSKuohTjh54GE9v9iZMHlQibIch6qm fjIOrD1rrg9RRJI1oriIdeoeIoAngtqLz49HcrJF6DJh/oLrmbC/0DeJlEaOs9cZMoVs J2zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Mizti06W; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g1si13450628ejt.939.2022.02.21.04.52.47; Mon, 21 Feb 2022 04:53:11 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Mizti06W; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357658AbiBUMNe (ORCPT + 99 others); Mon, 21 Feb 2022 07:13:34 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:42226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357561AbiBUMNI (ORCPT ); Mon, 21 Feb 2022 07:13:08 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA7ED2408B; Mon, 21 Feb 2022 04:10:13 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 27A16CE0F9B; Mon, 21 Feb 2022 12:10:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 7060AC340EC; Mon, 21 Feb 2022 12:10:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645445410; bh=Bsa08A8l8q2Sdy6wdsD3fJbBvHVtS+gIZ6/u9OUucdg=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=Mizti06W7+yqDV/3zhePhUFWbB+sN83MMZZY8QAeGrpnsUWt5272zl+BByZYMD/AL V2E0FaQcPrniAXGUvhbaqFMHln2zx9pqD6gn6xesBLDt8cIjv7skOhTRuN860KOaf6 iMu4zeFgqxio7yBoeOTsoPsZpVltmg3Rfp9nWy8sXlSztZ43YMvF+jUEfoTOLA06Jz yesRd95aC4SkRHnRbWdglLy/XYEkxYkWqW43Vchhstn2cMMZJQ87GfRPW/Ftgkp2zm JNsrZQ9JpbC8G1LV1tyZlQ+Xur6RAKtVBn9a56mPXBCeyTt+GoZj+819JmbcBoDQNH eoUJwUpKenzhg== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 5BBC3E6D45A; Mon, 21 Feb 2022 12:10:10 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] ravb: Use GFP_KERNEL instead of GFP_ATOMIC when possible From: patchwork-bot+netdevbpf@kernel.org Message-Id: <164544541037.27256.8743996856052704518.git-patchwork-notify@kernel.org> Date: Mon, 21 Feb 2022 12:10:10 +0000 References: <3d67f0369909010d620bd413c41d11b302eb0ff8.1645342015.git.christophe.jaillet@wanadoo.fr> In-Reply-To: <3d67f0369909010d620bd413c41d11b302eb0ff8.1645342015.git.christophe.jaillet@wanadoo.fr> To: Christophe JAILLET Cc: s.shtylyov@omp.ru, davem@davemloft.net, kuba@kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, netdev@vger.kernel.org, linux-renesas-soc@vger.kernel.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Hello: This patch was applied to netdev/net-next.git (master) by David S. Miller : On Sun, 20 Feb 2022 08:27:15 +0100 you wrote: > 'max_rx_len' can be up to GBETH_RX_BUFF_MAX (i.e. 8192) (see > 'gbeth_hw_info'). > The default value of 'num_rx_ring' can be BE_RX_RING_SIZE (i.e. 1024). > > So this loop can allocate 8 Mo of memory. > > Previous memory allocations in this function already use GFP_KERNEL, so > use __netdev_alloc_skb() and an explicit GFP_KERNEL instead of a > implicit GFP_ATOMIC. > > [...] Here is the summary with links: - ravb: Use GFP_KERNEL instead of GFP_ATOMIC when possible https://git.kernel.org/netdev/net-next/c/91398a960edf You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html