Re: [PATCH net-next] tcp: Use clamp() in htcp_alpha_update()
From: Simon Horman
Date: Sat Jul 27 2024 - 12:17:22 EST
On Sat, Jul 27, 2024 at 02:30:45PM +0200, Christophe JAILLET wrote:
> Using clamp instead of min(max()) is easier to read and it matches even
> better the comment just above it.
>
> It also reduces the size of the preprocessed files by ~ 36 ko.
> (see [1] for a discussion about it)
>
> $ ls -l net/ipv4/tcp_htcp*.i
> 5871593 27 juil. 10:19 net/ipv4/tcp_htcp.old.i
> 5835319 27 juil. 10:21 net/ipv4/tcp_htcp.new.i
>
> [1]: https://lore.kernel.org/all/23bdb6fc8d884ceebeb6e8b8653b8cfe@xxxxxxxxxxxxxxxx/
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
## Form letter - net-next-closed
(Adapted from text by Jakub)
The merge window for v6.11 has begun and therefore net-next is closed
for new drivers, features, code refactoring and optimizations.
We are currently accepting bug fixes only.
Please repost when net-next reopens after 28th July.
RFC patches sent for review only are welcome at any time.
See: https://www.kernel.org/doc/html/next/process/maintainer-netdev.html#development-cycle
--
pw-bot: defer