Article View: linux.kernel.netdev
Article #14834Re: [PATCH net-next] ptp: ocp: replace __get_free_page() with kmalloc()
From: patchwork-bot+netdevbpf
Date: Thu, 12 Nov 2026 02:00
Date: Thu, 12 Nov 2026 02:00
26 lines
8765 bytes
8765 bytes
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Sun, 08 Nov 2026 10:40:36 +0200 you wrote:
> ptp_ocp_summary_show() allocates a temporary buffer for formatting
> PTP OCP device summary information.
>
> This buffer can be allocated with kmalloc() as there's nothing special
> about it to go directly to the page allocator.
>
> kmalloc() provides a better API that does not require ugly casts and
> kfree() does not need to know the size of the freed object.
>
> [...]
Here is the summary with links:
- [net-next] ptp: ocp: replace __get_free_page() with kmalloc()
https://git.kernel.org/netdev/net-next/c/c88fd6989aea
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179444880643.1768068.10714270723125429493.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-361445-linux-kernel-netdev=dewy.ruReferences:
<20261108-b4-ptp-v1-1-71160700886f@kernel.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-361445-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next] ptp: ocp: replace __get_free_page() with kmalloc() Date: Thu, 12 Nov 2026 02:00:06 +0000 Organization: Usenet Network Message-ID: <179444880643.1768068.10714270723125429493.git-patchwork-notify@kernel.org> References: <20261108-b4-ptp-v1-1-71160700886f@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="987014"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:NjeKU488nNG/6b4hiRGLJl0GZlQ= sha256:a3Ztmknhq6NNrs+BOxoSFUxUW+J75T12UqPBQtfAEFE= sha1:yW2YHB9RFlyjw3+DPWSOY+kn2yo= sha256:1bRwZxHjKe3ufTn1pscyICwGW9kIKl3/n9hp9kB4UNo= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id DB9631140C4; Thu, 12 Nov 2026 05:06:53 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TVsCUQMHe0Pq; Thu, 12 Nov 2026 05:06:49 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-361445-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id ED6B511408F; Thu, 12 Nov 2026 05:06:40 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id 66D10E8615; Thu, 12 Nov 2026 02:00:37 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1794448809; b=fiIfB5yYAvr+2C0UFwrgO6jiR7LKgBFgNfi9aR233Et9ic/ZzQDe0uWtcBtqMWKcQ10K ZLiYHHhgBv64BNSo61Y2CBJREvExsEl4m5E4AeHJjS+iagWF6XUAXZXK6PMevrPivulMy cSacZmYB/D5eFbDcL1s1d4pMhiGSvqlnvVd06jW3G65LXo8dToqP1ixT5eySRLsPfKSeQ nA+H/AKQ44DNJ9WjC9qWArMQzts8KlY+jlrzmIx7XHgh8it55rkyqpY9RRJWsbzIxQiuQ aTXiI6oWHNLsYz/WQRnj7Q3R1+29FWHbio9KZVBjHN+63gsmeh3M/ZYW495HwU5gPNQ== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794448809; h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=TCRfyxHtM7gWIieAFsQRUzzBSJgM17kQTHPB2Hu1iOs=; b=puKuFYCodEzZsm/8ZSaVF2EcMyszyZOQ9kQle+2RMgQq9Jv77d0uSny3Oii3QVjN5Rbk D+uNmwVmCGMEs3FyHFwu2wVDA1ZEEu1HkB8ZQ98Z/nAjdo+KoL+fZDe9uUiDq7RTFubDj h9BkYppCxNvpjX+34ZB5W5D/nMyl3xdeYbcGBnI9b0tAQv3FI+U5ydSeUrr9E5svO28Kc N5bBcr9ZPT/XbUHn0OQqbC2ET96otOiXS5ybjLsa/B8jc0g/W7YYPO01dv/65MxS7yvqu Qs2/n2XZQDomTjeoIn7vTtiWon+1DNqGpEkS9DQKxDXng+Jan6uZnTp0RGneUArlYLw== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=CQPzrCau; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 49EAE606A333; Thu, 12 Nov 2026 02:00:09 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=CQPzrCau X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794448808; b=SY6sN0l6TyWkoKSWmNsTF4/W538Y8uyTbdv6EN3Aa3tGWpFCd7Xpy88hn9n/9iqUd7tM 9Dy0wPkG5joQMjcskop7s00VkgTWUBFWgjsP6lqADkdxW/Eo0SUYMUOH5d9ZOiCineuSe 4ee1Z6nXfN54tdBm3mpwf8tkl3J+DtUY0QEXPC2X+CHaUJywVgOp8LpfhkAqnrIBo6FYX 0QfYS8OIb8S6ehK0vkb0QiJAjtGw8RNrumWFVm8PP+7xVG2a0x7tiTDMzO+8Df8xIZtdA H4n2f6tdlV/Tz+Enye636pJhIzQ0ji60H0SpvL1JYrCvQWmKiqq8kTBmG1HdoCZUMHw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794448808; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=TCRfyxHtM7gWIieAFsQRUzzBSJgM17kQTHPB2Hu1iOs=; b=1D0TF4apCpnjJN7MeFfwN2Z0xiOzm3n82/fLG8lk2pCTG5bapCAXgmNmseaVVmh9mG/W 9Dz9IXTb+1QGx9z3saT5Lrze7zLrkI3juvkgBfRJ4tcmjM9kyADLHPbsGbs0dcgTHbGaZ Ont3ACtGLR3uhZlXJF8SKrWA32SYc7Ue2aUk2iszzfqU9lRlN571eBJDX2NbBvOAKi29g LximK58vFUZPpOsNMfW9mxu99O1h5/HhYtzO+A89huB63n7bcwOHTmizCs5ngu3EjTk5F SsErH98tLO6p7fjm+LRqTz4mzo6l/pmDQKrevBE1xaMoA0PTIpBT3Uy0TUWeEWWQ0wQ== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=CQPzrCau; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 688F3606A323; Thu, 12 Nov 2026 02:00:08 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id E67C91F00A05; Thu, 12 Nov 2026 02:00:07 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794448808; bh=TCRfyxHtM7gWIieAFsQRUzzBSJgM17kQTHPB2Hu1iOs=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=CQPzrCauYk1gS86uv74QwbX+ugone0X6LWe7bEpPNMoRJeKKt3NhJUtZLLwOs+fN3 NdEuynPzBwssC17dv6rQpBaYyvxfL0MknHWoGmsZlbi1GILHtsiK9dsioXxUTzISQi JQbgSPIK7pftO9sxaakiMITlhaqPpW4rxO/tm5HKgmPRlzW6tGPTHb2ciEURHPPODm 0Fwml7Ek/hCFcEub4NjxF8jea1V+WnEdyNnNPTg9Kd7uo+Ai7wvlzylFfb8JsKAHTA bHnmjI5NJRvXW3kN902T9w0VMzZRIN6VhrLB5hzI+2SYo/a93UIz/Qfh9oUpSM4Icw L2YF71zXcoOEw== X-Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id D81E1391AFD2; Thu, 12 Nov 2026 02:00:07 +0000 (UTC) X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <20261108-b4-ptp-v1-1-71160700886f@kernel.org> X-Cc: vadim.fedorenko@linux.dev, richardcochran@gmail.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, david@kernel.org, vbabka@kernel.org, linux-mm@kvack.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org