From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40AECC00140 for ; Mon, 8 Aug 2022 14:50:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235534AbiHHOuS (ORCPT ); Mon, 8 Aug 2022 10:50:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237965AbiHHOuQ (ORCPT ); Mon, 8 Aug 2022 10:50:16 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B300CF2 for ; Mon, 8 Aug 2022 07:50:15 -0700 (PDT) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 0F7CE60F40 for ; Mon, 8 Aug 2022 14:50:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 6630FC433D7; Mon, 8 Aug 2022 14:50:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1659970214; bh=NkEKv6HWRECe7J6KKDcxJnf6653iCxjGCnQNCjWyewA=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=WO6JZb7SRRL0DMz7gPVNtG7l1PRrAA1MlpvAagAihuEu0qpcyPScIpCT46WH5DjJ0 1x3gV545uwnkaenuS8kVIsHCXOPpXafSp+xRN7+2NVeA0fplSK+G+qO+uoXLtJ3L6h r8qFkX9safkXpCtHsMshMEd5CRnHXjmUQFphFw/1r+l1z5WQ4XYW3cBuXbS13R/rzS 1VjukU4eAUhULUtjydt5Ka5bC1hzw/7JLGFbhsErx2JxUaRDzBF9tWPUb2X2+00Qtv JeFfmKv4RRFKf7mEnSV8JJu2jWv6AWLwH1bZkG01gvNzoKHYdj1Q2nMVYNzY8w3/KV GB3sIEnTgGVWQ== 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 4D63EC43142; Mon, 8 Aug 2022 14:50:14 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH bpf] bpf, arm64: allocate program buffer using kvcalloc instead of kcalloc From: patchwork-bot+netdevbpf@kernel.org Message-Id: <165997021431.25944.12023505653587471129.git-patchwork-notify@kernel.org> Date: Mon, 08 Aug 2022 14:50:14 +0000 References: <20220804025442.22524-1-aijun.sun@unisoc.com> In-Reply-To: <20220804025442.22524-1-aijun.sun@unisoc.com> To: Aijun Sun Cc: ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, zlim.lnx@gmail.com, bpf@vger.kernel.org, catalin.marinas@arm.com, will@kernel.org, aijun.sun@unisoc.com Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org Hello: This patch was applied to bpf/bpf.git (master) by Daniel Borkmann : On Thu, 4 Aug 2022 10:54:42 +0800 you wrote: > It is not necessary to allocate contiguous physical memory for BPF > program buffer using kcalloc. When the BPF program is large more than > memory page size, kcalloc allocates multiple memory pages from buddy > system. If the device can not provide sufficient memory, for example > in low-end android devices[1], memory allocation for BPF program is likely > failed. > > [...] Here is the summary with links: - [bpf] bpf, arm64: allocate program buffer using kvcalloc instead of kcalloc https://git.kernel.org/bpf/bpf/c/19f68ed6dc90 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html