Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp965542lqa; Sun, 28 Apr 2024 11:50:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWMvhoJC4zW5LTNS6j43cfCfWTzfr/Zs8W0eP2R8BlgB9bsoJN7fjUVai+ioq16u4wBGLuPwXuEaNFu5WvkvKyaWYyKeZqTzd226sxKag== X-Google-Smtp-Source: AGHT+IHfgGRi10rV02K1zlBvB0//b7TCfthONCYXw/GmJSTYOncfJkoNp02QAXAZHjS7pW8a01mS X-Received: by 2002:a05:6902:220b:b0:de5:4a91:11c4 with SMTP id dm11-20020a056902220b00b00de54a9111c4mr10918753ybb.44.1714330241632; Sun, 28 Apr 2024 11:50:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714330241; cv=pass; d=google.com; s=arc-20160816; b=jGpE6aSvXU2zTTgsDrAPqi6Cb887nHSqBdk322b9Spmc39s/3xgesj7tA944Ux11Bj gbT6PCBw5jhYRWiMqcawi7hI5IxywH/pXGPCKqtdgAle9F0SwReDg6qpOj3Bd94z2qlS A2PaSb0uxHvvwM/ILb3NU0Cn61MKV1JK8U5B24EQGDq6EhmSm4WHel++yXCg/lEvh5HN +5GcrxnO8ZjPx6a0NiN5N+JDiWJBYTj3jw1FzOg+KtU69/nFIwfT93+NQVgx8vEzWTXr tvMZRHp0kvhi+xUSJm31marMiHVHX5xOztbuZbtseP//eOVzTpd4SGCLxv2Ajumod7OF xcPA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=BAlC94M7he/5/Z9dYzwoM4nnjSgK1MGblRHi8mBcmD8=; fh=hqzsX73I23r22BVdel/KwTofi6aoY+WW3CAVcopbwwY=; b=C3vsskHz7ZSV8F9LVNOlwNU90uVuV9REn7NGhxLQ0hop0nDHsn6ODq9etTSFOISttF G6bTKOCUNtBR9mYaqETFPi7C/JrZV9wk5ySJycha9nqvQeGN4M0qp7mjCtVHiCNyll4S 2JUP9RGBFzDxnlvnlBcRoKeWjqPfzADhkUcy0jk9jN8sMAOBchG1ZWWoSxAfdmiugkuJ Ll6bvBsBAOEaocr0ZzLgAzb+4lCkFoRLjNtQeXEPAajUpHG1xIIVDMkPtSqN3dGbtObh enAm0xWolVIcOnDli7o0vxBXHm3URFBmUDvMG9Bf9ihoo4sDkahaAFb1qE3K9RxL7yIe idwQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=AYtvcu5X; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-161543-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161543-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id ea12-20020a05620a488c00b00790f5706059si833104qkb.672.2024.04.28.11.50.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Apr 2024 11:50:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-161543-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=AYtvcu5X; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-161543-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161543-linux.lists.archive=gmail.com@vger.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 5E4DC1C20834 for ; Sun, 28 Apr 2024 18:50:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E2F1D73533; Sun, 28 Apr 2024 18:50:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="AYtvcu5X" Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com [209.85.208.176]) (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 6CA29EEC6 for ; Sun, 28 Apr 2024 18:50:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714330236; cv=none; b=tb2BVvPKZiyweXbhJxc6Hrsn+jsU/I80GB4ZSKnP8y5SlK+Psd0VxItejl4xg+Jva8uL5A2DwF4cVO0Ix9+DLA8o8DmT7d7SptberRW0ok9HB7CSxwtXBus09viuvMqLgRb4PYQooqvT60B0RzpVTzxkrGICNNfPODu/U3ZbYQY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714330236; c=relaxed/simple; bh=VMI+ua0sL2L95bgyIs5dyIDlZ/AGAU1djmVqBeGNFVo=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Yfu51IIDbluz3I17jk1ix8Kx/Sbcy5ACI1lj6GJgayLlMy2vyF2aJdUATchkQh7hvaPpiEdRmbbKhHwKGKJcosiz7Pg+HGAxLGX6dPeDWCYLKBvSAKLIyjlFuq4aK1ohTUC7I8xxC5VSbp56VjQx2kWD0Aoa+qpXXi7mdAfj25A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org; spf=pass smtp.mailfrom=linuxfoundation.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=AYtvcu5X; arc=none smtp.client-ip=209.85.208.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linuxfoundation.org Received: by mail-lj1-f176.google.com with SMTP id 38308e7fff4ca-2deecd35088so34557391fa.2 for ; Sun, 28 Apr 2024 11:50:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1714330232; x=1714935032; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=BAlC94M7he/5/Z9dYzwoM4nnjSgK1MGblRHi8mBcmD8=; b=AYtvcu5XqeS2npyYOdOEv6BWjDnXn8b5kKrzhBENCvx+AA8xRqmoJxVJC3a0ytdbYL stLeDWXS8wUptLaC4wJaQYzkc+tW0OqFh51fuqe/LqdiW2j/lRlhmN4ekDrizg6Jk0pe 9bjW8A3waU/TJG4HBsSZ74daD4CHp1omYkUNw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714330232; x=1714935032; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=BAlC94M7he/5/Z9dYzwoM4nnjSgK1MGblRHi8mBcmD8=; b=tGb3yZ7Cyd/zfP8ufcYbSc3nphcwrPuqzRl45/kfR9Pt/5SJ664NR9tdQNH2Ne0yVt vlGZj2w/o2mu9iMUxZK4TwGZnZi1UERm1tucwWuL2P6GiO3v0Q2Sxf2nPRP3XUWlcLJk 4PbBvc5Nw1XPzJz3nTOqDWA9OgHtySxCV9X5AII01oviA2vymfkVZXGNikTOWyEusj/2 Hxefw+yF55t2p8kndZwX3HwVX7cFU4LGuPALleyZDiYy/fvG3hPpZCZ0sSHBrUlYVkxs 2nQhbSRTyBYlQMBW45R/jQPJrfT3ISXsvNk955FKoG/3aI9O+6ZUIBOFUn6FHI6PLouh OClg== X-Forwarded-Encrypted: i=1; AJvYcCXUl3nx0j21nMzmMzzuGOMD0tnVZsMtYi+AaZm5/ESZ7EFZXlLPpjlgvGiKzDiaAMiKoSZDbKtdQgw4WtnL5rOuhOjUAP4RwCsQ1W1j X-Gm-Message-State: AOJu0YztF10r9EVwH6v3yyCBdCFtT+KqSjk3CBKtlDZkyPqMtIgB+2mj wvL779YYmBT8ACah8r32Lm++0UsMnrtniAq5mnu/gLyrTdUTvkpngM9IUyhATxDG+nTnbknaLni 1t4judQ== X-Received: by 2002:a05:6512:1156:b0:51b:ebe0:a91a with SMTP id m22-20020a056512115600b0051bebe0a91amr3947222lfg.36.1714330232254; Sun, 28 Apr 2024 11:50:32 -0700 (PDT) Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com. [209.85.218.53]) by smtp.gmail.com with ESMTPSA id r6-20020a170906704600b00a58e0d1d5bfsm2277783ejj.221.2024.04.28.11.50.31 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 28 Apr 2024 11:50:31 -0700 (PDT) Received: by mail-ej1-f53.google.com with SMTP id a640c23a62f3a-a58fbbcd77aso53756766b.2 for ; Sun, 28 Apr 2024 11:50:31 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCU58HTgLvZheZPDYMFtw0LfX93mgs1mQRcfn3FsHhujWc4awhO+0BoOhjg5Yt/KZzL0mq2WxhnRVALjdBnsN59UT/kyPLnSF9sKr23A X-Received: by 2002:a17:906:25d7:b0:a52:13ff:5317 with SMTP id n23-20020a17090625d700b00a5213ff5317mr3659858ejb.38.1714330231089; Sun, 28 Apr 2024 11:50:31 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20230424004431.GG3390869@ZenIV> <8e21256a-736e-4c2d-1ff4-723775bcac46@I-love.SAKURA.ne.jp> <2fca7932-5030-32c3-dd61-48dd78e58e11@I-love.SAKURA.ne.jp> <20230425160344.GS3390869@ZenIV> <1b405689-ea0a-6696-6709-d372ce72d68c@I-love.SAKURA.ne.jp> <5cebade5-0aa9-506c-c817-7bcf098eba89@I-love.SAKURA.ne.jp> <2023053005-alongside-unvisited-d9af@gregkh> <8edbd558-a05f-c775-4d0c-09367e688682@I-love.SAKURA.ne.jp> <2023053048-saved-undated-9adf@gregkh> <18a58415-4aa9-4cba-97d2-b70384407313@I-love.SAKURA.ne.jp> In-Reply-To: From: Linus Torvalds Date: Sun, 28 Apr 2024 11:50:14 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3] tty: tty_io: remove hung_up_tty_fops To: Tetsuo Handa Cc: Greg Kroah-Hartman , Dmitry Vyukov , syzbot , linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, Nathan Chancellor , Arnd Bergmann , Al Viro , Jiri Slaby Content-Type: text/plain; charset="UTF-8" On Sun, 28 Apr 2024 at 03:20, Tetsuo Handa wrote: > > > If we keep the current model, WRITE_ONCE() is not sufficient. > > My understanding is that KCSAN's report like I find it obnoxious that these are NOT REAL PROBLEMS. It's KCSAN that is broken and doesn't allow us to just tell it to sanely ignore things. I don't want to add stupid and pointless annotations for a broken tooling. Can you instead just ask the KCSAN people to have some mode where we can annotate a pointer as a "use one or the other", and just shut that thing up that way? Because no, we're not adding some idiotic "f_op()" wrapper just to shut KCSAN up about a non-issue. Linus