Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp1806016lqo; Sun, 12 May 2024 20:50:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVz4Ux3F+eE9nk3QmMsJ6yIC5gYudEjoU59ceuy4CbM3aamonx+AasyHUegobz3ytLxFH1c72cKXFr8TVdM7HLEpc40ovdKFX180uCXjQ== X-Google-Smtp-Source: AGHT+IFuiN0ISlqkTBCoiMVTAy98IlFy11UxFosAOjnMsb5NcVcW2gcZtKqvy2EYR+TB1MrYtdsd X-Received: by 2002:a17:902:d487:b0:1eb:5222:7b8e with SMTP id d9443c01a7336-1ef42f748e4mr125862525ad.17.1715572223869; Sun, 12 May 2024 20:50:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715572223; cv=pass; d=google.com; s=arc-20160816; b=X/6lHq00D3unSaqYxnbuz0tZ4N/Bey4gbmLgG+b8zoQKaTef5O1U7XEmXVg44ucLu4 6mJyC3rnNmzaGIz3QSbWijK+yxPULMrc5mBiVxpMyAxYtpZOheIfxHDRXqWBWa6Brj32 TCFYWLDhfVTZs3iomZ7YWZWCj9qGHaJxhg4m5DCXMdfKWiGYdw6Cl14ieJxW+iYzPYQh k0taKT9FhbnCs2qv4G/wsevAOCkxKDEkqESkgdV4Sk1TRz4G5xTzpB2gm7LXzHhxG8wa b9r0aqvCRO7Fmex6Qo+9a0j6bNdeXUNy133Xv1PXEdvPRLGyHIUxqmVKwnPvqDyIHTUO dNVw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language:subject :references:cc:to:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=ukfBIF37rYMMlBPzD+fTpi6myzQQyGmtqO3iNDaaqS8=; fh=XS6pT65GbshMO2omyR4wzHDcFUwMNTDoehAzWCzeRPg=; b=psrh2VRekDWgWjDkju1HHO5gHfbIi0o1mGCepMLpXx5D1s9f5UBHwElOHRphPgtVxz fOQcNzpfMob3hf5R673Iu+8jQPiqpDH3y9WGyg+WMcTnFzPdJIsQ3O8YU1tNWapC9nhx i2dJas41LMhFmDOUprDboveOx17dgsLF9zbYrc0sGRZ+jg1Xxg2CnSzxjBS9aDdW4Bc4 x2/z7VqXEx8jd5fYx9PkmMoP2odWvP6OnkGfG4/72aUtnHVmXF7AuP7+Sx2gJXhfYEC3 fM8t3If7IOM+fMehOWhMfEHs7iGaFK3gIYh+pudQGoApK9cxj6/mo80M+2PrYDKC+0yy 7w6A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=kAsKf9af; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-177136-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177136-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0c15eee1si85433135ad.523.2024.05.12.20.50.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 May 2024 20:50:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-177136-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=kAsKf9af; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-177136-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177136-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 9945AB20B98 for ; Mon, 13 May 2024 03:50:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A7F48145FE6; Mon, 13 May 2024 03:50:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="kAsKf9af" Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7DD1717550; Mon, 13 May 2024 03:50:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715572212; cv=none; b=SIQwAjawQdY8mUMGMP5QW+VrdQMgJNIhO3QelSfkSManJQSjhLfR/JkcpkGxSMV7iQrk0sD1XHHS2wZFyHvKv9r0DJXqmRRlbxNKJjwNJcZZY3E83GkLJvPHDtu18aIKe/JOquQtqYNXpUy//wqrXjYKTZQFL8vnQJvKH9ku5aE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715572212; c=relaxed/simple; bh=MGTswH+ycDm+Z0xLNMLXbS/39xZfnuBcHx01JRhTwW8=; h=Message-ID:Date:MIME-Version:To:Cc:References:Subject:From: In-Reply-To:Content-Type; b=jhDs2rW9Ulk+gyd97ag2kflxZZC+BlG6ijb4vZ4HIvJUx+Gy4+9K6k/ifHmI57qrt4/RnsQEB9r1JzHiU+tc519fKpCB4djDCCmlOKIHZAxA1rwOR/0Qb2ahKZbaRQ56NxcS1hu8x7Bb6BWpBE9CsGxQxUaDquUNNid3Qad/d6M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=kAsKf9af; arc=none smtp.client-ip=209.85.210.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-6f4ed9dc7beso1003803b3a.1; Sun, 12 May 2024 20:50:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715572211; x=1716177011; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language:subject :references:cc:to:user-agent:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=ukfBIF37rYMMlBPzD+fTpi6myzQQyGmtqO3iNDaaqS8=; b=kAsKf9afiFPMjNlJPWO6z3a1kuI4UNX5aqeOYnDCUrjphhB9iZ8P5HsYojmW3UyM9q vSx0HcSTszazbYXCMFIfS+j7MZ4S2gHQZDjxRRf4umK+L/YAsj/KQmG3PY6pfmGFL/iV +hQwP5qtqDjweCbugBREwLQyJED05eIlp73FMDKF0KoVWOOw0ya506Xs76PS3Zz9JORh dYvE1gWQnO9TwvFlvwLrAALnKaep/qhEAU7tDkNDeh/lVb3jdxloCcehFrTl8uD6P8pb 9QJZuyyapG3o/BHIt7+4pEYIDK14h7Eftw8KZ7GLn4OxBoxnWFkWlpuL4q20LRh7dXjF aEdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715572211; x=1716177011; h=content-transfer-encoding:in-reply-to:from:content-language:subject :references:cc:to:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ukfBIF37rYMMlBPzD+fTpi6myzQQyGmtqO3iNDaaqS8=; b=dBksP8JnbvQ50gMC3JM6uifTEQ4NS8EWxILUwhjNt2uIYsCBf20FKMPu35yOwu5EtP 98u9vDJLE5I+PrBvq6N6erjlk1GcXrDDsJSNt4Qk55F/0XNxckNt+xrmUJfeso+wt8Y6 8uTPlUvycWaw0g7gGNQk2oL5ru/2SYMUid9W2SvL62+zTDYcMvbCgb3Us9JoNSWdWGEe ihHokMao0t5TjqTnFnURdM1OsAsmWqix4Ah1dx5SibDnU+GSU3jnAoqJDXMlvO5HQm0/ +Y1In+5LpgS8eBejSvxJXVZvCcGmbDgr9ViyRuoVpUP8jHurR3JEo1bLYBj97qPKDFjW cyGw== X-Forwarded-Encrypted: i=1; AJvYcCVZA7ZfQTYvsznGSFCxRA9isT5kZ/onYVJhNedy0avmtmCDZ1HprnwqfDwtUEIVHojjxz7o0hYbkHQrNG5l9phpW/AczwMk8C6cNO5MD3q7LSNfh/pHgnqmgCBut3EjMGAvdmcpQPp4Vh6bXDJKTVSFeMzR7e1/mjmIBY1e6wSCxGIF5aqO X-Gm-Message-State: AOJu0Yx3rqIsEqEah6qCr5OY2VfGeG9IC4CCiyjovDicbl355Jz/TVFU 3jSoeYFHGilqBZ8ASU/pAHr+3FnRkXPl2BZbBkLE2Jj8TesiXB1s X-Received: by 2002:a05:6a00:140f:b0:6f4:4d09:15f8 with SMTP id d2e1a72fcca58-6f4c90b5d8amr16267889b3a.5.1715572210732; Sun, 12 May 2024 20:50:10 -0700 (PDT) Received: from [10.0.2.15] (KD106167171201.ppp-bb.dion.ne.jp. [106.167.171.201]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-6f4d2a66c43sm6380673b3a.9.2024.05.12.20.50.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 12 May 2024 20:50:10 -0700 (PDT) Message-ID: <99765904-3f35-4c78-998e-b444a6ab90e4@gmail.com> Date: Mon, 13 May 2024 12:50:07 +0900 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: paulmck@kernel.org 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 , Akira Yokosawa References: Subject: Re: [GIT PULL] alpha: cleanups and build fixes for 6.10 Content-Language: en-US From: Akira Yokosawa In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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. Thanks, Akira