Re: [PATCH] ext4/move_extent: use folio_next_pos()
From: Theodore Ts'o
Date: Fri Apr 10 2026 - 11:36:10 EST
On Sun, 22 Feb 2026 13:50:49 +0100, Julia Lawall wrote:
> A series of patches such as commit 60a70e61430b ("mm: Use
> folio_next_pos()") replace folio_pos() + folio_size() by
> folio_next_pos(). The former performs x << z + y << z while
> the latter performs (x + y) << z, which is slightly more
> efficient. This case was not taken into account, perhaps
> because the argument is not named folio.
>
> [...]
Applied, thanks!
[1/1] ext4/move_extent: use folio_next_pos()
commit: a804ecc399d91a529726fa1b10ff699bb531253d
Best regards,
--
Theodore Ts'o <tytso@xxxxxxx>