Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp1809688lqo; Sun, 12 May 2024 21:03:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWf0YgjeAKubiDO4N9LaMcql355jQ4wLO1hEx2TTeMHs1VwF/l6aE45TiPfWerZE6amaVaUmmQGSBtngcJdTAcB8sXp0pwCjD47honQUg== X-Google-Smtp-Source: AGHT+IExLr/YHk+ZSQvZVxPwDOz7bWF6bpcBkGP/e6l8btJzyy29z6ByQM9/FnOKtPUC428ALKCu X-Received: by 2002:a05:6a00:3a0f:b0:6ec:fa34:34b6 with SMTP id d2e1a72fcca58-6f4e02848c1mr11444171b3a.13.1715573006483; Sun, 12 May 2024 21:03:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715573006; cv=pass; d=google.com; s=arc-20160816; b=cfjkF64mvF2Qq02jR5nTbP1oiypu9jfbsnLJWkDGU7xNoCRzMnJpAz9kK5o4BlnRY+ xSL2F0S6HkVIFhCfBs4hcBsIM4MhUFl5gm/tQB8GjhEJgL8CXcx0s2Uh0m1bijgFuaJn ohFh59dszM8Ugl4q539WVVAQ1//64yijneeiYCJYNBvegd2T+X/uWyX/vw8QaSzdQUDN a1iaqHoT7Hw+5UTSkGBZGLv+ZrQvW6JAj0LeOlyeKgq9NrhVMA8fOd5BuRm7MYb0xYJF sww+BTFZ6MoWBZq3MrtnnhENieLvuyLUiWVSvbaqX83TKZ5XOTNL2gjuGaEWHnHPyJ6n HuIg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=XTTXknf8BKnSI9Mfielq60ZxawLSkBZ3//D2H+Tgm8g=; fh=3TDWs10JKE1Aa7vjB6p6AyIYbaRnAMGtfAksAZBWtkM=; b=q05gDLUBA5V+sK6AgxafdPVo4ONgYs8nR49GCMrUO5IrSs4LDTAxkZeAJsHdsMqrC2 /ttR0yrCyUNuX6P3K3Xs/QywYwaYvV1WpUUEK7QvgcuJGPHYfpsXI9as+zb7B8jgt/fa yIfyh+NjFOwaRvHXDVACTe3I0aWDmSYAev0bqePBTKbPJDMr0KowZpYKiHjCWFgCcDdU KpJ7wPsg4BJEsRxla8Zs0HT2zM6lhJIHJyixnbQfZ3bfS3yIOVVvCYc1yLYB+cMJXbgi XgMLZSEt7kqdSjyD7qHrA9wepYPAreyKGH8Wg8/PHND1gBm4KWIgOTCTflrgLw25ae3M BX5g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ij1PmLMp; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-177138-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177138-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2a71e29si8799896b3a.62.2024.05.12.21.03.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 May 2024 21:03:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-177138-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ij1PmLMp; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-177138-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177138-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 1EA5C2813F3 for ; Mon, 13 May 2024 04:03:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5E441145FE7; Mon, 13 May 2024 04:03:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Ij1PmLMp" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 769B922F08; Mon, 13 May 2024 04:03:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715572999; cv=none; b=ZsUdD75xfSAjqF+qpE+9FPy3BLkCLOkwVVSJlzb2ms1gM2a6UFBUcBtFdIE85mfvPBnfQCIKgWu6+Pmy5KHjmbQ4pkmLhPthEPc45hHlleSorTUnEbfGz3W/GO/PaGFLBBPvbOez2/yQ+iM0mt7OROEey13IqVRvXA/TOkp5vpg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715572999; c=relaxed/simple; bh=+neRAQuDz/eL/RUGK6nZmBt9+IAnz1VY6pYxUd64wV0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=iQyBWg7oxmyy1pufW7nNHfdIhzX7algMc6zy40DoFlmj30Bsckqv0JQl8wx20N7oOL/Nq70swsf6AF8Dwq/CQ4vlcvuTbQ24wLp+NTXbF1oCtqYD/xBlh3rHAbq2WM0HR1x/DQNLTKzn2twoYaFP8zqhDyu2gn04PfVZBqOiLYY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Ij1PmLMp; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 06C8EC113CC; Mon, 13 May 2024 04:03:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715572999; bh=+neRAQuDz/eL/RUGK6nZmBt9+IAnz1VY6pYxUd64wV0=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=Ij1PmLMpNeMzp+4gxi5K12CkyvJwOF3lv0WSRd+v4X3QKuEUFUgMZVvlr9gvq21Iv bbn6zfWrES3GnraurpiTgBsnfPBmErBV+ayZMNA9BiZ3KZj9LCL4lHkEetaEGu1Uwv Tz3Lb1jNUc/5vzw+VCiSwwlXvN+/S1M3cSyqg8gYCjeYO14i7Pd/6SMRuFdk2xLtJR 97IXv2F2sUVayDIAPRXxC7Oi+z+dcLGbh6rVaPRJYK6vGapuqXj8b7ZSGQdYyeBvIz iAGiWkpd1npCwxaNnndtVCoIL2u3DPGpMkvIqfm7IARgcHPpSD38EUiUi4d9NLZ9Yb W0OktVoErA/rw== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 69AA2CE08A1; Sun, 12 May 2024 21:03:18 -0700 (PDT) Date: Sun, 12 May 2024 21:03:18 -0700 From: "Paul E. McKenney" To: Akira Yokosawa Cc: arnd@arndb.de, glaubitz@physik.fu-berlin.de, ink@jurassic.park.msu.ru, linux-alpha@vger.kernel.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, mattst88@gmail.com, richard.henderson@linaro.org, torvalds@linux-foundation.org, viro@zeniv.linux.org.uk, Ulrich Teichert Subject: Re: [GIT PULL] alpha: cleanups and build fixes for 6.10 Message-ID: Reply-To: paulmck@kernel.org References: <99765904-3f35-4c78-998e-b444a6ab90e4@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <99765904-3f35-4c78-998e-b444a6ab90e4@gmail.com> On Mon, May 13, 2024 at 12:50:07PM +0900, Akira Yokosawa wrote: > On Sun, 12 May 2024 07:44:25 -0700, Paul E. McKenney wrote: > > On Sun, May 12, 2024 at 08:02:59AM +0200, John Paul Adrian Glaubitz wrote: > >> On Sat, 2024-05-11 at 18:26 -0700, Paul E. McKenney wrote: > >> > And that breaks things because it can clobber concurrent stores to > >> > other bytes in that enclosing machine word. > >> > >> But pre-EV56 Alpha has always been like this. What makes it broken > >> all of a sudden? > > > > I doubt if it was sudden. Putting concurrently (but rarely) accessed > > small-value quantities into single bytes is a very natural thing to do, > > and I bet that there are quite a few places in the kernel where exactly > > this happens. I happen to know of a specific instance that went into > > mainline about two years ago. > > > > So why didn't the people running current mainline on pre-EV56 Alpha > > systems notice? One possibility is that they are upgrading their > > kernels only occasionally. Another possibility is that they are seeing > > the failures, but are not tracing the obtuse failure modes back to the > > change(s) in question. Yet another possibility is that the resulting > > failures are very low probability, with mean times to failure that are > > so long that you won't notice anything on a single system. > > Another possibility is that the Jensen system was booted into uni processer > mode. Looking at the early boot log [1] provided by Ulrich (+CCed) back in > Sept. 2021, I see the following by running "grep -i cpu": > > >> > [1] https://marc.info/?l=linux-alpha&m=163265555616841&w=2 > > [ 0.000000] Memory: 90256K/131072K available (8897K kernel code, 9499K rwdata, \ > 2704K rodata, 312K init, 437K bss, 40816K reserved, 0K cma-reserved) [ 0.000000] \ > random: get_random_u64 called from __kmem_cache_create+0x54/0x600 with crng_init=0 [ \ > 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] > ^^^^^^ > > Without any concurrent atomic updates, the "broken" atomic accesses won't > matter, I guess. True enough! Thanx, Paul