# Re: \[PATCH 0/8\] mm: globalize rest\_of\_page() macro

- From: Jakub Kicinski \<kuba@kernel.org\>
- Date: 2026-03-04 02:28:49 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2026/03/342245
- Thread: https://ratatoskr.run/linuxppc-dev/2026/03/342235/t.md

```text
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.

```
