Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp9381308rwp; Thu, 20 Jul 2023 04:14:39 -0700 (PDT) X-Google-Smtp-Source: APBJJlGFBqHaS78UBagSO2xPspvxODf9Bx291MBTdS2SXBrfBuiF92Ni+FuUbte4Jih1w2v0GYek X-Received: by 2002:a05:6402:1ad1:b0:51d:9130:3c54 with SMTP id ba17-20020a0564021ad100b0051d91303c54mr4136999edb.26.1689851679034; Thu, 20 Jul 2023 04:14:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689851679; cv=none; d=google.com; s=arc-20160816; b=XX/IYpjmAQ2KLa1p/hXHjKDfhM2DQREAUWKT5mNUDhmWvSur45P12VhVmiWiQ5H0lB sS234VWR1aVBIYQ4smne9UzIzXbiafVHy8iUzNcfiN257xGo5EpIoPWiZJ2iSUuLa2hI yQiNLOfH+PIptyaRuCSpypbEDFtk82Ni5z6uHQt9t1Vv209atbxt/kx5pQxHWmEPW7Xw LkyBE6NwU/3y/h9j5beanL/PWMSzUvTBtVcAOGxiRi9zvgMrcvlWRbIuvaVKiB8Nwq1/ aKdPGsvzzRdgoQWU6yH90YPuqyrxDR0US4CcpBeyPYCX7Zae/PURjTpBkPuhEfoL8ggH DrAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=OUON6SPXD8UlKuQH5xkLYD6nJZt43SVrKvyaSUTOtAY=; fh=ByQhqm9I+ZNZ1sMeQqvllEundLdS3cauVDpfgSnW6SM=; b=doVcp9PiqIUTRFNY+983ZQPzUEEd0fZ6wTsKwDFz67yTTNdiwNM1xIiY2d4jVElJ43 +E2ftb35kLUxtrIrjTLFrrSs6JxVGeQVu3cUNOefUIAot5ty0j1M3a+Sq5wabkorowJw dntkLoYDDOtJdS4maf0cLsZwvRlLOEjbrJtmqW+pnF43LxoKUlI2tdUfxmFNKyU/wJzK bzN8e+u/AeNgyffbAk6lvYlVXmocl2bl/l5fXptbWVYF1DUTT4wkKlTKntwR2ytcXP4d LGOk0zSHcM/NcXUhTdyvKubUCVxntonYRnUq+g+RuKCtyb+3hXVAXUMhBP9McMJh7fZU ikPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WLqa6M1K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f2-20020aa7d842000000b0051e10e83750si640540eds.294.2023.07.20.04.14.11; Thu, 20 Jul 2023 04:14:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WLqa6M1K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230252AbjGTKdq (ORCPT + 99 others); Thu, 20 Jul 2023 06:33:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230219AbjGTKdk (ORCPT ); Thu, 20 Jul 2023 06:33:40 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7F4B269F for ; Thu, 20 Jul 2023 03:33:08 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 27136619F9 for ; Thu, 20 Jul 2023 10:32:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 609E1C433C8; Thu, 20 Jul 2023 10:32:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689849157; bh=hFrIlBp2xDjwZI1051zDpKcH1l8BEytCOqnbkdhdX2U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WLqa6M1Kzj1KflXtE9wcQoLVHPaMDX2RSx/Fw8r4kbz+nbZ3dNdPp53OcrsdZOnfe s9Vywjiz1qGVxnatND2unT5gE5dFxBQV8zzHnbpf9TvxWJRgwCjop8EfPzzv8xU5ar 7EC1KNqNa4MUOnq1c1DtpqC4/nN+pYPQISMJPHSEOLMqwbf0+N/2uHzE39QDCubwtF uOWsOtuM20hQ5kAHUzupKHG2LAh1pUvDIboxh1obAZy0DZm8C+1BTb/hUkM4VUk0jS ukrrssSaogtqCiS8b+YDiXV0zao+OxGaWUe3iDh63dT2cqHGQ7NFDnr7UgoifEWou3 HrGqc1I3qlPcQ== Date: Thu, 20 Jul 2023 11:32:28 +0100 From: Will Deacon To: Mark Brown Cc: Hugh Dickins , Lorenzo Stoakes , Andrew Morton , Mike Kravetz , Mike Rapoport , "Kirill A. Shutemov" , Matthew Wilcox , David Hildenbrand , Suren Baghdasaryan , Qi Zheng , Yang Shi , Mel Gorman , Peter Xu , Peter Zijlstra , Yu Zhao , Alistair Popple , Ralph Campbell , Ira Weiny , Steven Price , SeongJae Park , Huang Ying , Naoya Horiguchi , Christophe Leroy , Zack Rusin , Jason Gunthorpe , Axel Rasmussen , Anshuman Khandual , Pasha Tatashin , Miaohe Lin , Minchan Kim , Christoph Hellwig , Song Liu , Thomas Hellstrom , Ryan Roberts , linux-kernel@vger.kernel.org, linux-mm@kvack.org, regressions@leemhuis.info, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 12/32] mm/vmalloc: vmalloc_to_page() use pte_offset_kernel() Message-ID: <20230720103227.GB11034@willie-the-truck> References: <696386a-84f8-b33c-82e5-f865ed6eb39@google.com> <42279f1f-7b82-40dc-8546-86171018729c@sirena.org.uk> <901ae88d-ad0c-4e9d-b199-f1566cc62a00@lucifer.local> <977ddee4-35f0-fcd1-2fd-1c3057e7ea2a@google.com> <591b5253-47f0-440c-84b6-7786ff59667d@sirena.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <591b5253-47f0-440c-84b6-7786ff59667d@sirena.org.uk> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 11, 2023 at 06:57:33PM +0100, Mark Brown wrote: > On Tue, Jul 11, 2023 at 09:13:18AM -0700, Hugh Dickins wrote: > > On Tue, 11 Jul 2023, Mark Brown wrote: > > > On Mon, Jul 10, 2023 at 09:34:42PM -0700, Hugh Dickins wrote: > > > > > > > I suppose I should ask you to try reverting this 0d1c81edc61e alone > > > > from 6.5-rc1: the consistency of your bisection implies that it will > > > > "fix" the issues, and it is a commit which we could drop. It makes > > > > me a little nervous, applying userspace-pagetable validation to kernel > > > > pagetables, so I don't want to drop it; and it would really be cargo- > > > > culting to drop it without understanding. But we could drop it. > > > > > > I did look at that, it doesn't revert cleanly by itself. ... > > > > Right, that ptep_get() wrapper on the next line came in on top. > > The patch to revert just 0d1c81edc61e is this: > > Still investigating but I'm pretty convinced this is nothing to do with > your commit/series and is just common or garden memory corruption that > just happens to get tickled by your changes. Sorry for the noise. Did you get to the bottom of this? If not, do you have a reliable way to reproduce the problem? I don't like the sound of memory corruption :( Will