Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp88848lqs; Mon, 4 Mar 2024 16:19:31 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVF0DUVXB0FfJzLUPI3YklL9qWKkANQ2G5M9JrdjPXsGGdGT7EvvJfowx75RJF06fuvtInckgcFZozyJXPx+NOArTNHl99ogzI23yqNCA== X-Google-Smtp-Source: AGHT+IG3WjSfo8TbiBpyJClU/DYyK9GTyaOPG1rPUIufMA/bjcnHR5GnEWyfvjXezt/Yuw5xVdHZ X-Received: by 2002:a05:6870:a18a:b0:21e:e5db:7964 with SMTP id a10-20020a056870a18a00b0021ee5db7964mr316428oaf.23.1709597971136; Mon, 04 Mar 2024 16:19:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709597971; cv=pass; d=google.com; s=arc-20160816; b=bDsU3Gllx1VLK35Dyqw3IIwHXWe8WSKriuaSiTH15cy6dXOrzUGTt8lDwZ6PopP2p9 yGg5aAtvsJd2xRKR9K01S1oZoP+k1wjk8q9rHypyLvXmw7p3BRAwSUJ9KRjnLo3ypI/O ZNEnaLVRRySfaui1iKqchmCzCnAq4M0upfY+g2QqzZHnTh2WYyn4CYUeRJ0ehDy1k49V 3vfT1smQMor9EYafrenbNULbKgtxxl5zqVAy45z6OZqV8UjP4AKHjz2v7ZA11lYsO2Z1 uaVtkLfhHqe9KMmyt4WdB4OpbVDNICxa9Vno5K6UtuLSkeGF2tCWIrof6n0FUjvbpZM3 X81A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=wTnRdSHTrw7SLJclAIWYZgsb2Tzbj1bZxuYcSQ1MOuw=; fh=IffBcS5JDSC7ZFLSNkzhrqrlOMSct4OpixSvHb+MY34=; b=eL7xkOnt7tD6Cxgon2CxkxO8MP5JKH3ZJB7WmQlzp/lLqRkzQ1nLBS0I10rIJHVaop xh137wdr2dF7FJcz7UYziRnrk3J5aHAS8shGW8A58c0L42OF2mm1qc2U2LUkNWvCJ4d4 HNjcvKo41apM/dVtLhHanrdT9pIA1ofStb/uGKnEWYrnu17s+Ud+U95iOOyk4gmbmUEf NEd5DBx3B7/WMtwCkDk/CuRJ6y2yLLsQNLZvn2bVtgtBRaxffzKEZryXh2XhQj/IHNok /H9PivInLUMU3d30peNnioJYFXO1dQk2efrLYSf+7il3jGuZgJPt/VdWTIogJWcyTtl3 vjjQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=Y1ttMkUX; arc=pass (i=1 spf=pass spfdomain=canb.auug.org.au dkim=pass dkdomain=canb.auug.org.au dmarc=pass fromdomain=canb.auug.org.au); spf=pass (google.com: domain of linux-kernel+bounces-91444-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-91444-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id v23-20020aa78517000000b006e560c11146si8801689pfn.106.2024.03.04.16.19.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 16:19:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-91444-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=Y1ttMkUX; arc=pass (i=1 spf=pass spfdomain=canb.auug.org.au dkim=pass dkdomain=canb.auug.org.au dmarc=pass fromdomain=canb.auug.org.au); spf=pass (google.com: domain of linux-kernel+bounces-91444-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-91444-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id C68AB28144E for ; Tue, 5 Mar 2024 00:19:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A196020EB; Tue, 5 Mar 2024 00:19:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b="Y1ttMkUX" Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 36CDA647; Tue, 5 Mar 2024 00:19:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=150.107.74.76 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709597961; cv=none; b=YPwZmSLbtOdMr27HnPBtywii9S+pWJcPyZ7Aii/AXUM4wfGj/yqdMVpGuNnbPTzbgOEhOo+dtO4ErhWOGxcgyVVvU15ZEUVFGTLRbCWgTXKJRAxEHubPTxXAX4vnoeqmbK3CQHe7XFrUv6HDmBza7txmVZ/kVXYP8jsayWeQrYs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709597961; c=relaxed/simple; bh=vWe/Iah/qneo1EiM9nKXq+OXjLo2iX4yMleyyY+4Lhk=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=h0yGjwHTYs4t2gox6s1L0TF+50juDTVVBTy9qwfD9Vx8/vbLJPnbxpYsJs6UcVE5QPST6aoXA0VmiWIdGFnNzCuqT9eZId9MNhTzBTtGq8D/lbEo/qzWoUsn7A4I84UptvK2NxMGE349hjbUdEkYE98qMcAfS8KjuC2qOYTBfeI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au; spf=pass smtp.mailfrom=canb.auug.org.au; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b=Y1ttMkUX; arc=none smtp.client-ip=150.107.74.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canb.auug.org.au DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1709597956; bh=wTnRdSHTrw7SLJclAIWYZgsb2Tzbj1bZxuYcSQ1MOuw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Y1ttMkUXqXydxSJrgpQqaRpYzmwWAmxzInPP9Ecb6+4H8R+VjDElSvhDGIO3L+P3t AydmMnfkSdEP/1PHwmq+C/f9nu5PDivNPXLrzLNzxxtbDcBY3vZLB8DAb749fS9gA+ iKiYOAXgWOCKDDFQdS9tGDc+ilHMYGdU8YCeaqdZv1Td2KiUW9QCyjc0/hueop5t2F kARtajSK4fcZInFD3cidSkOYMIjWbrz22bzzasnf3ESOOapMaNggPIoWLHjvx6Accj 00Rg6GIWKD6bBixDQ5BMJDzYa4btyFmD13thMHypfcRr7Y+PJ5is6qXHszbx4hHN87 ivONrZJ6glr9g== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4Tpbll5srTz4wc9; Tue, 5 Mar 2024 11:19:15 +1100 (AEDT) Date: Tue, 5 Mar 2024 11:19:15 +1100 From: Stephen Rothwell To: Eric Dumazet Cc: David Miller , Jakub Kicinski , Paolo Abeni , Networking , Jiri Pirko , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the net-next tree Message-ID: <20240305111915.742aaf1f@canb.auug.org.au> In-Reply-To: References: <20240301121108.5d39e4f9@canb.auug.org.au> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_//0OK9MpWFRWZb=MOrx_m8GI"; protocol="application/pgp-signature"; micalg=pgp-sha256 --Sig_//0OK9MpWFRWZb=MOrx_m8GI Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Eric, On Fri, 1 Mar 2024 10:54:19 +0100 Eric Dumazet wrote: > > OK, I think the issue is caused by a hole at the start of > tcp_sock_write_rx group >=20 > I will send this patch for review, thanks ! >=20 > diff --git a/include/linux/tcp.h b/include/linux/tcp.h > index 988a30ef6bfe956fa573f1f18c8284aa382dc1cc..55399ee2a57e736b55ed067fc= 06ea620bbe62fd3 > 100644 > --- a/include/linux/tcp.h > +++ b/include/linux/tcp.h > @@ -304,7 +304,7 @@ struct tcp_sock { > __cacheline_group_end(tcp_sock_write_txrx); >=20 > /* RX read-write hotpath cache lines */ > - __cacheline_group_begin(tcp_sock_write_rx); > + __cacheline_group_begin(tcp_sock_write_rx) __aligned(8); > u64 bytes_received; > /* RFC4898 tcpEStatsAppHCThruOctetsReceiv= ed > * sum(delta(rcv_nxt)), or how many bytes > diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c > index c82dc42f57c65df112f79080ff407cd98d11ce68..7e1b848398d04f2da2a91c3af= 97b1e2e3895b8ee > 100644 > --- a/net/ipv4/tcp.c > +++ b/net/ipv4/tcp.c > @@ -4651,7 +4651,7 @@ static void __init tcp_struct_check(void) > CACHELINE_ASSERT_GROUP_MEMBER(struct tcp_sock, > tcp_sock_write_tx, tsorted_sent_queue); > CACHELINE_ASSERT_GROUP_MEMBER(struct tcp_sock, > tcp_sock_write_tx, highest_sack); > CACHELINE_ASSERT_GROUP_MEMBER(struct tcp_sock, > tcp_sock_write_tx, ecn_flags); > - CACHELINE_ASSERT_GROUP_SIZE(struct tcp_sock, tcp_sock_write_tx, 1= 13); > + CACHELINE_ASSERT_GROUP_SIZE(struct tcp_sock, tcp_sock_write_tx, 1= 05); >=20 > /* TXRX read-write hotpath cache lines */ > CACHELINE_ASSERT_GROUP_MEMBER(struct tcp_sock, > tcp_sock_write_txrx, pred_flags); I will apply this patch to them merge of the net-next tree until it is applied there. --=20 Cheers, Stephen Rothwell --Sig_//0OK9MpWFRWZb=MOrx_m8GI Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmXmZQMACgkQAVBC80lX 0GwgVQf/UzJ5KS73jOaujls1vJ3m+uZjTGSV2CR9GXdSXMqzsrTvMsg9k5FaD7Qm 2jEMT+LWqdsI3+9L3aeYpOADQl7rRIgFpecd1dRZVr57Wnq/8Ij+bKrgn7NNhLif O8U0S6ii8NafSDOXtIB0l/O6PgaEW+YtnlOYaCFKwzsAbxaYfAa/Ke54HwhgGGRO Bzm7CKxjcnYQ9xnyz88Ig2IKAipiuEUiPRgy3pVAyv914RXIwmwUSlDpxKR79e2p 6XfQ2QsqZ4A113Oe5nTbrTU8VeAokO8epLwZEeE3w5rAE6f0EMDYgji3UQMzEGIo 1axhga8xHAVTf8KqZTJUiRNAbdD0oA== =tMoX -----END PGP SIGNATURE----- --Sig_//0OK9MpWFRWZb=MOrx_m8GI--