From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7CC8C231A21; Wed, 4 Mar 2026 02:28:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772591329; cv=none; b=Nvt/dnmGxtSrA0EG/Rlhok2LXwYKmucBF7RMPWLMJvrMz06g5qI8d9hfF+66GnoFNvJep+48+FM9sd3GbmEo3exFMp2Ye/aHw8e3hQLGoronvWyyr/0QPLnPPbPNJu61qoS1iPL3+2S6a6GirS3RHb8ZRx6+SNCvFa3Py25ZAcQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772591329; c=relaxed/simple; bh=w0enNDJ6vj/GjKs1g6Qapybf69Y+ysKOpkctiG5RrpQ=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=MQRAn0h3laXENu/bzGpGkiLJS7Dod+JVQu/ZL2zCdR9iPu6YW0WHP+KDWox8fPx5rzDLrFt/eqA0BNtuvkosiP9S8Y2U7LqQt4ClJ7y055E7lTi0f3v6F4NExcrcuw/0/bbWsfQnEz2yZ5lPsHiBuof/HmLqorwz9fLC0+IekyI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=spjB+qe8; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="spjB+qe8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DB983C116C6; Wed, 4 Mar 2026 02:28:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772591329; bh=w0enNDJ6vj/GjKs1g6Qapybf69Y+ysKOpkctiG5RrpQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=spjB+qe83UoElqhhSNfGwtYNBZK6rgflA8nN48IzNFPIWPeUr3QRcXVdCtF1NJKnf z5EksqVKhftC9MLC9j/7nGeIaaTR87yGm5Rwd8MxIRtsUMKdsilMMJ3Cd9iakxj8Bd EH9ATACpJVqsf4PLZG7kLZaviIgPJnXRNiYRro7z9N/ZFYixQx9IlT7mTSxw717b7C FtZrlDgcd81FIPR+0JhvBn0boDgv6oQAtRyqPocimgjFVPbqTR/7W2RrWO0jyc8Sw9 QZEusDhvc5/gFZA6KC6+NigNLVm6yl1rbhBl2iBivGRlsjsn6q5oZHNnRRI6Qq4pAT NJF9zxNmgNh2w== Date: Tue, 3 Mar 2026 18:28:45 -0800 From: Jakub Kicinski To: Yury Norov Cc: Andrew Morton , "David S. Miller" , "Michael S. Tsirkin" , "Theodore Ts'o" , Albert Ou , Alexander Duyck , Alexander Gordeev , Alexander Viro , Alexandra Winter , Andreas Dilger , Andrew Lunn , Anna Schumaker , Anton Yakovlev , Arnaldo Carvalho de Melo , Aswin Karuvally , Borislav Petkov , Carlos Maiolino , Catalin Marinas , Chao Yu , Christian Borntraeger , Christian Brauner , Claudio Imbrenda , Dave Hansen , David Airlie , Dominique Martinet , Dongsheng Yang , Eric Dumazet , Eric Van Hensbergen , Heiko Carstens , Herbert Xu , Ingo Molnar , Jaegeuk Kim , Jani Nikula , Janosch Frank , Jaroslav Kysela , Jens Axboe , Joonas Lahtinen , Latchesar Ionkov , Linus Walleij , Madhavan Srinivasan , Mark Brown , Michael Ellerman , Miklos Szeredi , Namhyung Kim , Palmer Dabbelt , Paolo Abeni , Paolo Bonzini , Paul Walmsley , Peter Zijlstra , Rodrigo Vivi , Sean Christopherson , Simona Vetter , Takashi Iwai , Thomas Gleixner , Trond Myklebust , Tvrtko Ursulin , Vasily Gorbik , Will Deacon , Yury Norov , Zheng Gu , linux-kernel@vger.kernel.org, x86@kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, kvm@vger.kernel.org, linux-s390@vger.kernel.org, linux-block@vger.kernel.org, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, dm-devel@lists.linux.dev, netdev@vger.kernel.org, linux-spi@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-fsdevel@vger.kernel.org, linux-xfs@vger.kernel.org, linux-nfs@vger.kernel.org, linux-crypto@vger.kernel.org, linux-mm@kvack.org, linux-perf-users@vger.kernel.org, v9fs@lists.linux.dev, virtualization@lists.linux.dev, linux-sound@vger.kernel.org Subject: Re: [PATCH 0/8] mm: globalize rest_of_page() macro Message-ID: <20260303182845.250bb2de@kernel.org> In-Reply-To: <20260304012717.201797-1-ynorov@nvidia.com> References: <20260304012717.201797-1-ynorov@nvidia.com> Precedence: bulk X-Mailing-List: dm-devel@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 3 Mar 2026 20:27:08 -0500 Yury Norov wrote: > The net/9p networking driver has a handy macro to calculate the > amount of bytes from a given pointer to the end of page. Move it > to core/mm, and apply tree-wide. No functional changes intended. > > This series was originally introduced as a single patch #07/12 in: > > https://lore.kernel.org/all/20260219181407.290201-1-ynorov@nvidia.com/ > > Split it for better granularity and submit separately. I don't get what the motivation is here. Another helper developers and readers of the code will need to know about just to replace obvious and easy to comprehend math. 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 lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DC868EDEBFF for ; Wed, 4 Mar 2026 02:29:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.sourceforge.net; s=beta; h=Content-Transfer-Encoding:Content-Type:Cc: Reply-To:From:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Subject:MIME-Version:References:In-Reply-To: Message-ID:To:Date:Sender:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=8Lck9VxvV9OWDnjQyvtoY9A79dDVvAuhfXuS3wTCu20=; b=DtkZn/mS4m6xc36N+ckllzNred BXyIS5Ed6oWDd10V0Pd7pvCFBw6ukuj5YojP8moIMjeU3ccsEeJUck1uI508G5mepvu0mzUw5nNp3 9G41e7zZaBOXDQ5DhtBmWkztk/57K2lPOey92a2A0mXyp66QChFN33FYr4AETJngvUHo=; Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1vxbz5-0005lu-S0; Wed, 04 Mar 2026 02:29:11 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1vxbyu-0005lO-Q2 for linux-f2fs-devel@lists.sourceforge.net; Wed, 04 Mar 2026 02:29:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:Content-Type:MIME-Version :References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=wKj0ybLQ7OTEX7VYO4UYrqVGHCViOoCZ3KGzAf4cs5s=; b=Yx4ZXY8Qj3cDsh7WowvONIDcSp WVrOUqCUXuCKyLmVwhUXeXCrA4xSn5aYa9ZRhAWVb+0DdiV8Ly7aNu1ubD8qV7CO7TxyfrG4Hcz0Q PEYr9rHsqpvnyWSgTzit6QEScct10lGkDD7mDlnUkdCYclRbXGQ9prJI1Z7nHAbCg6ao=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=wKj0ybLQ7OTEX7VYO4UYrqVGHCViOoCZ3KGzAf4cs5s=; b=ZMgd013XqNAsYThrosgAMqoVj4 dhhb6bNG+MGbZ27J5WjDRV7nY8DTHmqR1OkuPPuz4LRLpc6bBzNz/MqWPCNvrJGjstS1oIf+1ZroH 6IqCqwGlsKN6ig1ylxyWsVHB3m8lZPKc3v3Cd2E5Hgk8DMDles6a+r4o4CO0tZV1+FAA=; Received: from sea.source.kernel.org ([172.234.252.31]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1vxbyu-0002Je-7u for linux-f2fs-devel@lists.sourceforge.net; Wed, 04 Mar 2026 02:29:00 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 41CFF43A1B; Wed, 4 Mar 2026 02:28:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DB983C116C6; Wed, 4 Mar 2026 02:28:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772591329; bh=w0enNDJ6vj/GjKs1g6Qapybf69Y+ysKOpkctiG5RrpQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=spjB+qe83UoElqhhSNfGwtYNBZK6rgflA8nN48IzNFPIWPeUr3QRcXVdCtF1NJKnf z5EksqVKhftC9MLC9j/7nGeIaaTR87yGm5Rwd8MxIRtsUMKdsilMMJ3Cd9iakxj8Bd EH9ATACpJVqsf4PLZG7kLZaviIgPJnXRNiYRro7z9N/ZFYixQx9IlT7mTSxw717b7C FtZrlDgcd81FIPR+0JhvBn0boDgv6oQAtRyqPocimgjFVPbqTR/7W2RrWO0jyc8Sw9 QZEusDhvc5/gFZA6KC6+NigNLVm6yl1rbhBl2iBivGRlsjsn6q5oZHNnRRI6Qq4pAT NJF9zxNmgNh2w== Date: Tue, 3 Mar 2026 18:28:45 -0800 To: Yury Norov Message-ID: <20260303182845.250bb2de@kernel.org> In-Reply-To: <20260304012717.201797-1-ynorov@nvidia.com> References: <20260304012717.201797-1-ynorov@nvidia.com> MIME-Version: 1.0 X-Headers-End: 1vxbyu-0002Je-7u Subject: Re: [f2fs-dev] [PATCH 0/8] mm: globalize rest_of_page() macro X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Jakub Kicinski via Linux-f2fs-devel Reply-To: Jakub Kicinski Cc: Latchesar Ionkov , Zheng Gu , kvm@vger.kernel.org, "Michael S. Tsirkin" , Peter Zijlstra , Catalin Marinas , Alexander Duyck , Dave Hansen , dri-devel@lists.freedesktop.org, Jaroslav Kysela , linux-perf-users@vger.kernel.org, linux-mm@kvack.org, Eric Dumazet , Andreas Dilger , linux-nfs@vger.kernel.org, Dongsheng Yang , Joonas Lahtinen , Alexander Gordeev , Claudio Imbrenda , David Airlie , linux-riscv@lists.infradead.org, Simona Vetter , linux-s390@vger.kernel.org, Madhavan Srinivasan , Yury Norov , Herbert Xu , Alexandra Winter , Miklos Szeredi , Michael Ellerman , linux-ext4@vger.kernel.org, x86@kernel.org, Tvrtko Ursulin , linux-spi@vger.kernel.org, Ingo Molnar , Aswin Karuvally , intel-gfx@lists.freedesktop.org, Christian Borntraeger , Carlos Maiolino , Dominique Martinet , Thomas Gleixner , dm-devel@lists.linux.dev, Jens Axboe , Albert Ou , Vasily Gorbik , Heiko Carstens , Will Deacon , linux-f2fs-devel@lists.sourceforge.net, Arnaldo Carvalho de Melo , linux-crypto@vger.kernel.org, linux-block@vger.kernel.org, Mark Brown , Borislav Petkov , Alexander Viro , Rodrigo Vivi , Jaegeuk Kim , virtualization@lists.linux.dev, Eric Van Hensbergen , Paul Walmsley , linux-arm-kernel@lists.infradead.org, Janosch Frank , Jani Nikula , Christian Brauner , Paolo Abeni , Theodore Ts'o , v9fs@lists.linux.dev, Sean Christopherson , Linus Walleij , linux-sound@vger.kernel.org, Takashi Iwai , linux-kernel@vger.kernel.org, linux-xfs@vger.kernel.org, Andrew Lunn , Palmer Dabbelt , Anton Yakovlev , Anna Schumaker , netdev@vger.kernel.org, linux-fsdevel@vger.kernel.org, Paolo Bonzini , Andrew Morton , Namhyung Kim , linuxppc-dev@lists.ozlabs.org, "David S. Miller" , Trond Myklebust Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net On Tue, 3 Mar 2026 20:27:08 -0500 Yury Norov wrote: > The net/9p networking driver has a handy macro to calculate the > amount of bytes from a given pointer to the end of page. Move it > to core/mm, and apply tree-wide. No functional changes intended. > > This series was originally introduced as a single patch #07/12 in: > > https://lore.kernel.org/all/20260219181407.290201-1-ynorov@nvidia.com/ > > Split it for better granularity and submit separately. I don't get what the motivation is here. Another helper developers and readers of the code will need to know about just to replace obvious and easy to comprehend math. _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 038BBEDEC02 for ; Wed, 4 Mar 2026 02:29:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=yhJ9R6B2wfoSMnNFekjaygn35SSBc4rAmzeJ8fpK9vU=; b=bA2xGMeJe8Zgd+ K5ZfNPtFG4Y1CyoXEkWUq/gpkMXr2Ye7m0rC3JOGQ44Hjei9FIlNummV6WwTx93bsV/7Xy0aiLEv4 mqoO0CHKINzs1H8UYavQK+6Itzop653Awk3wvFK/gBNkEBqp3yq7gaX9wcWoVIC9ahdeP2cMI0YLi ika7y6lb8jVoVQaSwZvIDC4mPBOUT/jZLg584zB4Bz949B+KcOeRbgwsJpG7BFoX3zwVkD0DtJ6iX 9k6BEm7w2vt83I1vhIXrbGTRIJFWLPHzecJ2tpnUmWyywckLXm+Vr3W4NmVltozUXoQIUf+YYAE7P 0/qsT/W3Mc/Frq1dhvdQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vxbyn-0000000GIx4-2qeK; Wed, 04 Mar 2026 02:28:53 +0000 Received: from sea.source.kernel.org ([172.234.252.31]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vxbyk-0000000GIwf-2TO6; Wed, 04 Mar 2026 02:28:51 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 41CFF43A1B; Wed, 4 Mar 2026 02:28:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DB983C116C6; Wed, 4 Mar 2026 02:28:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772591329; bh=w0enNDJ6vj/GjKs1g6Qapybf69Y+ysKOpkctiG5RrpQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=spjB+qe83UoElqhhSNfGwtYNBZK6rgflA8nN48IzNFPIWPeUr3QRcXVdCtF1NJKnf z5EksqVKhftC9MLC9j/7nGeIaaTR87yGm5Rwd8MxIRtsUMKdsilMMJ3Cd9iakxj8Bd EH9ATACpJVqsf4PLZG7kLZaviIgPJnXRNiYRro7z9N/ZFYixQx9IlT7mTSxw717b7C FtZrlDgcd81FIPR+0JhvBn0boDgv6oQAtRyqPocimgjFVPbqTR/7W2RrWO0jyc8Sw9 QZEusDhvc5/gFZA6KC6+NigNLVm6yl1rbhBl2iBivGRlsjsn6q5oZHNnRRI6Qq4pAT NJF9zxNmgNh2w== Date: Tue, 3 Mar 2026 18:28:45 -0800 From: Jakub Kicinski To: Yury Norov Cc: Andrew Morton , "David S. Miller" , "Michael S. Tsirkin" , "Theodore Ts'o" , Albert Ou , Alexander Duyck , Alexander Gordeev , Alexander Viro , Alexandra Winter , Andreas Dilger , Andrew Lunn , Anna Schumaker , Anton Yakovlev , Arnaldo Carvalho de Melo , Aswin Karuvally , Borislav Petkov , Carlos Maiolino , Catalin Marinas , Chao Yu , Christian Borntraeger , Christian Brauner , Claudio Imbrenda , Dave Hansen , David Airlie , Dominique Martinet , Dongsheng Yang , Eric Dumazet , Eric Van Hensbergen , Heiko Carstens , Herbert Xu , Ingo Molnar , Jaegeuk Kim , Jani Nikula , Janosch Frank , Jaroslav Kysela , Jens Axboe , Joonas Lahtinen , Latchesar Ionkov , Linus Walleij , Madhavan Srinivasan , Mark Brown , Michael Ellerman , Miklos Szeredi , Namhyung Kim , Palmer Dabbelt , Paolo Abeni , Paolo Bonzini , Paul Walmsley , Peter Zijlstra , Rodrigo Vivi , Sean Christopherson , Simona Vetter , Takashi Iwai , Thomas Gleixner , Trond Myklebust , Tvrtko Ursulin , Vasily Gorbik , Will Deacon , Yury Norov , Zheng Gu , linux-kernel@vger.kernel.org, x86@kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, kvm@vger.kernel.org, linux-s390@vger.kernel.org, linux-block@vger.kernel.org, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, dm-devel@lists.linux.dev, netdev@vger.kernel.org, linux-spi@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-fsdevel@vger.kernel.org, linux-xfs@vger.kernel.org, linux-nfs@vger.kernel.org, linux-crypto@vger.kernel.org, linux-mm@kvack.org, linux-perf-users@vger.kernel.org, v9fs@lists.linux.dev, virtualization@lists.linux.dev, linux-sound@vger.kernel.org Subject: Re: [PATCH 0/8] mm: globalize rest_of_page() macro Message-ID: <20260303182845.250bb2de@kernel.org> In-Reply-To: <20260304012717.201797-1-ynorov@nvidia.com> References: <20260304012717.201797-1-ynorov@nvidia.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260303_182850_695565_C403CA2F X-CRM114-Status: GOOD ( 13.85 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On Tue, 3 Mar 2026 20:27:08 -0500 Yury Norov wrote: > The net/9p networking driver has a handy macro to calculate the > amount of bytes from a given pointer to the end of page. Move it > to core/mm, and apply tree-wide. No functional changes intended. > > This series was originally introduced as a single patch #07/12 in: > > https://lore.kernel.org/all/20260219181407.290201-1-ynorov@nvidia.com/ > > Split it for better granularity and submit separately. I don't get what the motivation is here. Another helper developers and readers of the code will need to know about just to replace obvious and easy to comprehend math. _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv