Re: [PATCH RFC net v4 0/8] net/iucv: serialize the HiperSockets receive path with the socket lock
From: Bryam Vargas
Date: Thu Dec 03 2026 - 22:04:39 EST
On 30/11/26 2:04 pm, Hidayath Khan wrote:
> Here are the Stage 1 v4 patch series results from the z/VM machine.
Thanks for the run, and for the three 300 s runs of msglimit_bound.
v5 cites it: https://lore.kernel.org/netdev/20261203-b4-disp-8029c32d-v5-0-0bce531e20d0@xxxxxxxxx/
> In afiucv_hs_backlog_rcv(), on a data, SHT or WIN frame dev stays NULL and
> tracker is never set, and the netdev_put() at the end still runs. Harmless,
> since netdev_put() tests dev first, but should it be under if (dev) rather
> than passing the address of an uninitialised local?
Yes. It is under if (dev) in v5.
> afiucv_hs_backlog_add() reads sk->sk_max_ack_backlog plainly in softirq,
> while iucv_sock_listen() writes it plainly under lock_sock().
[...]
> Should both be marked again?
Both are marked in v5: READ_ONCE() in afiucv_hs_backlog_add() and
WRITE_ONCE() in iucv_sock_listen(). The object code of the KCSAN
build changes with either one, and the object code of the KASAN build
changes with neither, so it is annotation only, as you say.
On 30/11/26 9:14 pm, Hidayath Khan wrote:
> The series should go to stable as a unit. Could you say in each
> changelog why the patch is needed in stable ? Is 5/8 included as a
> prerequisite ?
I added no sentence on stable to the changelogs in v5: all but 5/10 and
10/10 say what a user of a released kernel sees without the patch, and I
write the series for mainline. What goes to stable, and when, is yours
and the stable maintainers' call. 5/10 (v4's 5/8) is a prerequisite of
6/10 and nothing else: it moves code and changes no behaviour, and its
stable tag says so.
On 01/12/26 11:15 am, Hidayath Khan wrote:
> The msglimit_bound bracket, 1 lost in 6297 cycles, is from v1 of the
> series, not from net-next.
Noted. v5 does not use that number.
Thanks,
Bryam