Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp1421972rdh; Fri, 24 Nov 2023 12:12:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IHziCuNgoz1wZ9JDv66C6EHazuHe0OdJ6CUBEqMD1awAJ6AVRIPTauHma5Y0ZAjF9On5yAn X-Received: by 2002:a17:903:41c1:b0:1c9:fdf0:f69 with SMTP id u1-20020a17090341c100b001c9fdf00f69mr4381197ple.63.1700856775731; Fri, 24 Nov 2023 12:12:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700856775; cv=none; d=google.com; s=arc-20160816; b=deCb/jerhXK09M3FHS1pWoQvhcd3JeaT8jyEd8vrPegOaSVMbpDhuvuC9zr/WIzNCU jitJ8kH26Sk+UJfUWpX4RLwXblqLqi/yi4cYb77xZOsj7MDTZfpeONAAkg7Pa+VlunZe m3JMhlFqFPv/uFENQThGERlbWILUcF/EvYENlLbJ9skfWuKYJ5WgpZenwt6EzjKNxaFv a3oN/+l/Yf51J1si/5lgT1esfgguJdzr31fvSCqpdzsR5CyuUPPfmb2NV95MhLHoyvHz 1Gb8sJYjIzWpNxgUa3MFkQLCbG0pvEjiB8xFHsRTkk4NJJiP2+emLtaN1bFRWIBz93tW Uubg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=TCf2e1EXSjwPuuSKzIrJH5yWdmYJqYZ2ahdEqbl+dh8=; fh=EOB1XUCQygcJHh5CWHuzr4iGxFXmu53ucskgT0+0iZ4=; b=IMC45imqvR8nSvkb45z20Kej08bCTlru+TiiBJJUuBAELuo48TxAxOTrj7MUILbb45 55h9+eyWju62A8r4Afjnz32nAt2wdVz3QjXyIEcqUVAYDpwScMkMc2x2GfQ6W9dnO3oN OC28h7Bt3OZ674DmZ3O6mgdrC49fmLv3c4l51npFJJjUPLWp3I2h+3c80U9yyPtEKQ9s D4lj7fQGr5gXj/24J7aJKvge8P091v1pHSx6mLRwHaLoc1fZKd9v7+8xCd+uANLMHTJQ PWVbxPHuyalvBcO70GRTtWaWyqRORyGoi0c3iAZA7bHx7tOObT5mAxVdYB0uyhptxiRG gNpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=fii3w53d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id ik23-20020a170902ab1700b001cfa3f5ad9esi1993072plb.464.2023.11.24.12.12.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 12:12:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=fii3w53d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 61A478026E3B; Fri, 24 Nov 2023 12:12:53 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231489AbjKXUMh (ORCPT + 99 others); Fri, 24 Nov 2023 15:12:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230242AbjKXUMg (ORCPT ); Fri, 24 Nov 2023 15:12:36 -0500 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E9BF1707 for ; Fri, 24 Nov 2023 12:12:41 -0800 (PST) Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-a04196fc957so336803466b.2 for ; Fri, 24 Nov 2023 12:12:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1700856759; x=1701461559; 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=TCf2e1EXSjwPuuSKzIrJH5yWdmYJqYZ2ahdEqbl+dh8=; b=fii3w53dj5vUs+qziU2lhHlCCT8x42om3PueoXKw2Ih+1en2VjHXlEoncpujII/8JL kfa0KjPyDOBg1FRrcimzvokWUkzcjKv7z4OLo8O0VjdNwY32DsYgFMiQEh+VgKLKSSaM wIxE1wGG0V+VG4WQGDGpxGDtNzH9a2C7IgNnY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700856759; x=1701461559; 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=TCf2e1EXSjwPuuSKzIrJH5yWdmYJqYZ2ahdEqbl+dh8=; b=Zm+PDKz4PHQvXfHAyHo0nYFpW4IvNF0w7FKzQE9FVokvfg8KxTdgKKmV52lnb8eCE6 XcFIiU0MtIJnXS1ZUKVLtz6mLRVc9YWHiihfstRruDOTrhQzZg68N3IYikd07Y/rUAkf EiqrlkrCP2WliWjL0bnrs6ZPXVpfD+yo/QqSE4HYSLZEqxvTMvcN8gdMJAd3QUTrE8bK 7wLRr8J/m3wlYAEFsRXy1eGdx8TMNcB07weEhKJ0yEBRnbWNk2MVy+AId4QdQl1CJCVv WHYBj+S0X9qZ9Se3RePOiWp8GH7dwWzDC2PI3JtFz+Ppy7kpMrl9lvN4oNsKD4/84mcW /arg== X-Gm-Message-State: AOJu0Yz+6QT63ceV0FSXo7XXlLBeRki8xF6KuCwPp37xeBqEzvplzYl0 wfsSTmLpr0juW6bszt/ipTuWpeoxTErIL9xeeOwEgfTF X-Received: by 2002:a17:906:197:b0:a0a:7e3c:be2b with SMTP id 23-20020a170906019700b00a0a7e3cbe2bmr1248207ejb.55.1700856759639; Fri, 24 Nov 2023 12:12:39 -0800 (PST) Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com. [209.85.218.47]) by smtp.gmail.com with ESMTPSA id bn10-20020a170906c0ca00b00a0949d4f637sm1100094ejb.222.2023.11.24.12.12.38 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Nov 2023 12:12:39 -0800 (PST) Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-a00c200782dso337338766b.1 for ; Fri, 24 Nov 2023 12:12:38 -0800 (PST) X-Received: by 2002:a17:906:a1c8:b0:9a1:891b:6eed with SMTP id bx8-20020a170906a1c800b009a1891b6eedmr3423738ejb.76.1700856758205; Fri, 24 Nov 2023 12:12:38 -0800 (PST) MIME-Version: 1.0 References: <20231124-vfs-fixes-3420a81c0abe@brauner> In-Reply-To: From: Linus Torvalds Date: Fri, 24 Nov 2023 12:12:20 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [GIT PULL] vfs fixes To: Christian Brauner , Omar Sandoval , David Howells Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Fri, 24 Nov 2023 12:12:53 -0800 (PST) On Fri, 24 Nov 2023 at 10:52, Linus Torvalds wrote: > > Gaah. I guess it's the VM_IOREMAP case that is the cause of all this horridness. > > So we'd have to know not to mess with IO mappings. Annoying. Doing a debian code search, I see a number of programs that do a "stat()" on the kcore file, to get some notion of "system memory size". I don't think it's valid, but whatever. We probably shouldn't change it. I also see some programs that actually read the ELF notes and sections for dumping purposes. But does anybody actually run gdb on that thing or similar? That's the original model for that file, but it was always more of a gimmick than anything else. Because we could just say "read zeroes from KCORE_VMALLOC" and be done with it that way. Linus