🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #26897

Re: [PATCH RFC net v5 00/10] net/iucv: serialize the HiperSockets receive path with the socket lock

#26897
From: Hidayath Khan
Date: Fri, 04 Dec 2026 11:05
27 lines
13243 bytes
Hi Bryam,

The v4 patch series was clean on my z/VM runs, as posted. For v5, the 
plan is a
full pass on a z/VM guest and on an LPAR, and I would like to hold any 
respin
until those numbers and this review are both in.

Thanks for the two 6/10 changes I asked for: netdev_put() under if (dev),
and the READ_ONCE()/WRITE_ONCE() pair on sk_max_ack_backlog. Both look
right to me now.

On your asks: Alexandra is re-running the two cases she reproduced with
1/10, and I will take the connect() to a user ID that does not exist - the
scenario does not exist yet.

Let us keep the series to the stage 1 socket locking work, the pre-existing
and out-of-scope items can be taken up separately once this has landed.

One question on 1/10, for you and Alexandra. A SYN lost with no device
report leaves a socket that cannot connect again, and af_iucv(7) tells 
applications
to retry after -EAGAIN. Should a connect() that times out clear syn_sent?

Thanks,
Hidayath
Technical Details
Message-ID: <ac73a755-45d0-4ad7-aff4-936aa730511b@linux.ibm.com>
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377280-linux-kernel-netdev=dewy.ru
References: <20261203-b4-disp-8029c32d-v5-0-0bce531e20d0@proton.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377280-linux-kernel-netdev=dewy.ru
From: hidayath@linux.ibm.com (Hidayath Khan)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH RFC net v5 00/10] net/iucv: serialize the HiperSockets
 receive path with the socket lock
Date: Fri, 4 Dec 2026 16:35:08 +0530
Organization: Usenet Network
Message-ID: <ac73a755-45d0-4ad7-aff4-936aa730511b@linux.ibm.com>
References: <20261203-b4-disp-8029c32d-v5-0-0bce531e20d0@proton.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="2747287"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:fi0UEIsNCNGhHUFQELYA7AprNoM= sha256:u/WzQVgMeDdZN8Ekc0wObqVkbC7LnUfxKpX3w5zGFxc=
	sha1:6V5mV8ByhSFDaAqjEbyVFqgqcLg= sha256:fnxr57S0oOgL68Iat+E5GTryKm2SbRmNqKI+Pn/c5Go=
Content-Language: en-GB
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 77C73117BBF; Fri,  4 Dec 2026 14:05:51 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.199
X-Spam-Status: No, score=-3.199 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	HEADER_FROM_DIFFERENT_DOMAINS=0.001, MAILING_LIST_MULTI=-1,
	RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
	autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=ibm.com
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id fPvk5xiy997Q;
	Fri,  4 Dec 2026 14:05:49 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-377280-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=linux.ibm.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id A1430117BA8; Fri,  4 Dec 2026 14:05:40 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 6C10332ECC; Fri,  4 Dec 2026 11:05:29 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1796382328;
	b=GddsCiAk0FHfAY33mOCWh4JtH8vCn8BEfCgXvk5VzImhHfF73k48hhWBm/qNDhF8rIIl
	 1nFC/cxG79d5ML4u8cTZ4lSi0cNQ6XN2Ru6txnAX/+frH/kTK0aKIsD8j7v9rxgVMj1sT
	 GE5belTEmmcC6ULc68eD7eJFIGxH53+QE1pvL9BVxGkac99LxhWSXadLfco3vUHylSlle
	 m9i1tJVAMktfalXkuHxSae1Qs0hdsEsfqppNGJI+GFRtDhEJCAtYG5HhP2Ou6BhTdxveH
	 9GdhoDFC8L6WJZd98dccRBE0EbU9wwWQoimHKozNN/oNAf++9Tzac+Oi5TAFunJtAxg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796382328;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:Received:
	 Received:Received:Received:Received:Received:Received:Message-ID:Date:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:User-Agent:
	 Subject:To:Cc:References:Content-Language:From:In-Reply-To:
	 Content-Type:Content-Transfer-Encoding:X-TM-AS-GCONF:
	 X-Proofpoint-Reinject:X-Proofpoint-ORIG-GUID:X-Proofpoint-Spam-Info:
	 X-Proofpoint-Spam-Details-Enc:X-Authority-Analysis:X-Proofpoint-GUID:
	 X-Proofpoint-Virus-Version:X-Proofpoint-Spam-Details;
	bh=nicV/wZ+ovcR1yO2MU7krXrcRIgvu8KiJJfkFLlaGPM=;
	b=fjdozg9Kyeh6vdoA5WPTr7tuTqUcXLeOkog8wr9pADIkY25pFCApFdtUF9PhAA8HTpoE
	 7Dp1ncUdxVP4uDaP6ddqs63BfLu72ox60yVSuA0RgCAivuZpK0n3/0tVia5ks/4xM87Qf
	 z/m1fwE4uMcCJ5f+3MtOAlpRdGTnTgag+rACauiD97QUSUrsY4lCWm1bZ2sf51/VdkTgf
	 dnTrmJbrz+jBEbaasdp7ed3D3TMTeeOoxbKC7LZxH7ZRr0dNKYea/0JPANaFr7KaeJbrS
	 gok4Y0bAIUJWCUcsvuyHbChgePvT9hGwRyy0SH1c77CIqSCCkr9r0rmNw1yPTf+fptA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=LPd0zg4t;
	dmarc=pass header.from=linux.ibm.com;
	spf=pass smtp.mailfrom=linux.ibm.com;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 82CF6606A335;
	Fri,  4 Dec 2026 11:05:28 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=LPd0zg4t
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=148.163.158.5
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1796382327;
	b=A2EbKyHAANIH6I/ykXN6//K7xjmxIkIhAoLXAbKvHmei0lRDuxe+vDc37229pu6a+vk4
	 Nrrk9JTkybNkqavH6Gri3Ad+Gc7CZXCJAZzzBgRUC0MjI0lSCnS6iW/svtEMZaM/rprNP
	 9u6s5IL3gX+FY0Xmg96X695ChVuNPg9UYTXM2yIZSHSzR2m+gTm31tL0++D/BIcscJeAO
	 2CWfaZ7gm1QEWYOz+hkv/LxW967+hTkCPBdJGDd5z7CoLB1lX8Jcp+HksNEl8u5RwLu4j
	 HyvoujEIYK0jEV+MJJ+huHVrC6fV36fyXFpv3XnTy300C7OQ86w9YW1DJ8qdTxhP02w==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796382327;
	h=DMARC-Filter:Received:DKIM-Signature:Received:Received:Received:
	 Received:Received:Received:Received:Message-ID:Date:MIME-Version:
	 User-Agent:Subject:To:Cc:References:Content-Language:From:In-Reply-To:
	 Content-Type:Content-Transfer-Encoding:X-TM-AS-GCONF:
	 X-Proofpoint-Reinject:X-Proofpoint-ORIG-GUID:X-Proofpoint-Spam-Info:
	 X-Proofpoint-Spam-Details-Enc:X-Authority-Analysis:X-Proofpoint-GUID:
	 X-Proofpoint-Virus-Version:X-Proofpoint-Spam-Details;
	bh=nicV/wZ+ovcR1yO2MU7krXrcRIgvu8KiJJfkFLlaGPM=;
	b=egppJEkjicZPognbuZNHKFTjU4TduU5Ntx2pinQHi8ZRE6TUbvWMkVCH3uY08s35t0rF
	 8n+3RNhnu+r9qjTCxUoID6grJJnPpFjf/HavE+K1V1xT15yYUXegs61vPjwAFgtsgNLpY
	 hPyX9Jq+E5X/GaLQRnSSIWNGyTuCGo9Ng18ekG3onq+tEEONWUUENrME6JR/AIPFjhfpI
	 Fm5nDd8b7wMFcs/jrPWWOwTnCKyY02xeok0tO0jIpNvr6Awa0dVOu6mNR9ZgdFc/1iP9+
	 95bbY6ZjRM3YMNfD1ktKGiDvGaOQVrLSbR3+WvS5qtm3NN/hQEsUekSMt81WfJEpawg==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=linux.ibm.com;
	spf=pass smtp.mailfrom=linux.ibm.com;
	dkim=pass header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=LPd0zg4t;
	arc=none smtp.remote-ip=148.163.158.5
X-Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3DA38606A32C;
	Fri,  4 Dec 2026 11:05:27 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 3DA38606A32C
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.ibm.com
X-Received: from pps.filterd (m0360072.ppops.net [127.0.0.1])
	by mx0a-001b2d01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6B45ZNoO1277249;
	Fri, 4 Dec 2026 11:05:18 GMT
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc
	:content-transfer-encoding:content-type:date:from:in-reply-to
	:message-id:mime-version:references:subject:to; s=pp1; bh=nicV/w
	Z+ovcR1yO2MU7krXrcRIgvu8KiJJfkFLlaGPM=; b=LPd0zg4tbycYfJF+NEcc8f
	aG5ew5gbco2waTWiy7vWaxj2U9p4Gk7nJDc6O9ybbTOO4mhjk2eeL3CCG8bJ7vlU
	3rI5UpslSgRqAtiD0gvjWLohkllCPdfIHRACQPJJaHoCjGOVXEnFAAGE/HH/xA4D
	Cslcmp4n1V7DaLH+b4gwiC4Xj2dUx8OlNCCI/y9kjWQkOebwS3AzxDDaREQm1f+P
	IdXRthN6wAPXs2Cf7RmpahftAzztZZScrXcbzn79i61+0DCGZBAJG2GlLxYNNaJ7
	qt3IDw9vVcOZmCHCqivvRSdpF5LnyZ4gSgiD0oBR5RWBRNFSgivRGzZXJfuqevRQ
	==
X-Received: from ppma22.wdc07v.mail.ibm.com (5c.69.3da9.ip4.static.sl-reverse.com [169.61.105.92])
	by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4jbqgg13vj-1
	(version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT);
	Fri, 04 Dec 2026 11:05:17 +0000 (GMT)
X-Received: from pps.filterd (ppma22.wdc07v.mail.ibm.com [127.0.0.1])
	by ppma22.wdc07v.mail.ibm.com (8.18.1.11/8.18.1.11) with ESMTP id 6B4Av4sw609966;
	Fri, 4 Dec 2026 11:05:17 GMT
X-Received: from smtprelay04.wdc07v.mail.ibm.com ([172.16.1.71])
	by ppma22.wdc07v.mail.ibm.com (PPS) with ESMTPS id 4jaajsjdns-1
	(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);
	Fri, 04 Dec 2026 11:05:17 +0000 (GMT)
X-Received: from smtpav04.dal12v.mail.ibm.com (smtpav04.dal12v.mail.ibm.com [10.241.53.103])
	by smtprelay04.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 6B4B5GBr26935842
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
	Fri, 4 Dec 2026 11:05:16 GMT
X-Received: from smtpav04.dal12v.mail.ibm.com (unknown [127.0.0.1])
	by IMSVA (Postfix) with ESMTP id E08955824B;
	Fri,  4 Dec 2026 11:05:15 +0000 (GMT)
X-Received: from smtpav04.dal12v.mail.ibm.com (unknown [127.0.0.1])
	by IMSVA (Postfix) with ESMTP id 9F8095823D;
	Fri,  4 Dec 2026 11:05:10 +0000 (GMT)
X-Received: from [9.43.122.157] (unknown [9.43.122.157])
	by smtpav04.dal12v.mail.ibm.com (Postfix) with ESMTP;
	Fri,  4 Dec 2026 11:05:10 +0000 (GMT)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-User-Agent: Mozilla Thunderbird
X-Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
        Nagamani PV <nagamani@linux.ibm.com>, linux-s390@vger.kernel.org,
        Simon Horman <horms@kernel.org>,
        Thorsten Winkler <twinkler@linux.ibm.com>
X-In-Reply-To: <20261203-b4-disp-8029c32d-v5-0-0bce531e20d0@proton.me>
X-TM-AS-GCONF: 00
X-Proofpoint-Reinject: loops=2 maxloops=12
X-Proofpoint-ORIG-GUID: VFcMd4k82BctyAxuJda287dY6kk7foDg
X-Proofpoint-Spam-Info: AW1haW4tMjYxMjA0MDA0NCBTYWx0ZWRfX7p84u4YQlNLR
 FNWqixUVhbonOVgS2KXE/hGw4pMENS/XQw5G45Ddtta3fr/0o9Hjsr+3D0CW//Vz6OYhYTjWl/D
 y9PpsNMoZQbCkTsY4IL95FkyMzul1ig=
X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjA0MDA0NCBTYWx0ZWRfX4pwXr4+DxONL
 jj+MNph+o4x7zzZOUPZU1Yz962koZFyRlAWP8e5BmfQP2bTEtJ3BTiZhGeEF9QdLO+v7h09+U0O
 Rlp/qXsZF1TjHzzTMJMz8RetJee8EdZx4Dc3R4+hqClVPA2KFnUuKem6PgIQ7MIG6ZCNCUDS+KJ
 QI9/7khLb5moJ+NIJ6Hzw+SWUJp50orRkbzewvhgBuXzHKwIvqi18FfEdO4pnnMwKLiiK7BUXCw
 89lqJ1P8Cv+jw/BMBHEcZFQtoq0OdkTHGdxdF4UzLBnl6rU51/+aJG8fcV69aFAuQtOIinv28tq
 GqwEcUgNW5pgimXmAbVhNza9cAl2nIJg8yEtJkpp68C5m7300mVOjnR+63DW3RLOdy4sCEwfzdo
 K4Puo4Cx+pa21HQr0a+B6xIkHRFepov6bauzqaXDhry8HUkFoSOn3sowLmkdUmNl3ILvyzJsk7U
 TQcxlWC69klK8R1eUFA==
X-Authority-Analysis: v=2.4 cv=PaJqFShd c=1 sm=1 tr=0 ts=6b129e6e cx=c_pps
 a=5BHTudwdYE3Te8bg5FgnPg==:117 a=5BHTudwdYE3Te8bg5FgnPg==:17
 a=IkcTkHD0fZMA:10 a=pUM-KoujPXoA:10 a=VkNPw1HP01LnGYTKEx00:22
 a=RnoormkPH1_aCDwRdu11:22 a=RzCfie-kr_QcCd8fBx8p:22 a=FciNwKnL41yIX4DMSEYA:9
 a=QEXdDO2ut3YA:10 a=ZXulRonScM0A:10
X-Proofpoint-GUID: au3ZKwYRKGrufnXjsB_u6MoOCAEKGAZD
X-Proofpoint-Virus-Version: vendor=baseguard
 engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49
 definitions=2026-12-04_01,2026-12-03_04,2025-10-01_01
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0
 spamscore=0 priorityscore=1501 lowpriorityscore=0 suspectscore=0
 malwarescore=0 phishscore=0 bulkscore=0 adultscore=0 clxscore=1015
 impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc=
 route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001
 definitions=main-2612040044