Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp3371031lqo; Tue, 21 May 2024 15:21:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUbfn79AFR2Xr+z0Jt2lvBhT4q6TquHfp9NWacg56i3Zc+Fd+JezF7+AUQbdTIILATGy+Xw/W/V4qn7WdPNPiy9G01gWIk4xfG/zDQzqw== X-Google-Smtp-Source: AGHT+IEiQSPkI/G++5W8A4Q5onFjurBbXwqG8q8zNVwmwkydh06c5mSMd5S3/pfrz1+uvW5PzQOh X-Received: by 2002:ac2:44ca:0:b0:523:91af:12d9 with SMTP id 2adb3069b0e04-526bebb447bmr54826e87.9.1716330085738; Tue, 21 May 2024 15:21:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716330085; cv=pass; d=google.com; s=arc-20160816; b=iMFg7v74rX21jnZS6VMcsz3XnR6iP6Q29pv4g3jv83kLkkOBkzXDajUWzCHJ5CFSz/ hV//hIndtzkzal+GSVlS4ip4RW5xNfugwA/FL1q3Wc0nbCVP6bGUjFh/wyMktQGFireF euGT1PB7stedyM1s+TqoLlhgxvK+2gINMnbsqh3zs+m3PZDo+YZvCF60dp274Hk758YV Bf1ONySBEMIIxvEOWlqSyAgemYjo7K6lvOiejDe/OSCOsQJIaQxBEOm4C2Vy2yWTDC1o ao5MfDfVZ/H1FCqWHlfE0LsEVl4a32jTWyifB+dWqWKiUN4s2cwA58Xe7coODaVu/cun 2+Ng== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=uWatbwj/IWi1yLtM5x+DhOm7/0gMUC6oEuIDN8i47VI=; fh=lyburIilvHmLOS/0ox148ICsIf6GzHO2iD1XKaT5fb8=; b=o0GA2Jc62sfKQj6ZptIF7rotxitEk/33zv9wE2Sp2JcUf7vcue1zy4G2I5anomrY8d keLelFwt/S/T/W0zf6L31YXWC53ZNPYGrcC+N/xLUn9LS7uxo+P7qa//BcQzdbs5MSOQ BuLtE/moMmgKZu13Y0S00aQPUrMSuR1lciHNihSNjdyNGxfW86FGaI7yW7MKhAJuoiE7 myyL/1LzOSZmFKN7wI7o13vaN0F7vXawPz7svb0E+AZmxzlC060NSDaWhmkoU/nJ+yIN 1HkVGeAIWsq1a2cNixytm1IQjQTSvqKUX9h71ogbXAPXZZSs9Yg8xAw3FNsfL8sgvkQm WUvA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=V9xOjNQK; 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-185499-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185499-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17ba3c95si1547942366b.590.2024.05.21.15.21.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 15:21:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185499-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=V9xOjNQK; 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-185499-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185499-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 6DF891F22427 for ; Tue, 21 May 2024 22:21:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9F7C5149DFF; Tue, 21 May 2024 22:21:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="V9xOjNQK" Received: from mail-qt1-f169.google.com (mail-qt1-f169.google.com [209.85.160.169]) (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 586431865A for ; Tue, 21 May 2024 22:21:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716330078; cv=none; b=nERaiCKjOOqBnlTWi8uRqZ3+jD7foufLmIPi3pc1sGQ2s+grndeAPHr2oWNHN5aWHYbKlJBc6nVn0VtI9pr1j33wWxlfWxU4Ombk0aA3RC+iAxeu9vJ/puTbNnTG2kSh2X4UibnuabIEF5afQVcYZGjOZXcTbaykfLlyPB28WUI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716330078; c=relaxed/simple; bh=YpG+JWTZB/2PwhaUNwjmLEazgti0WeMIsrmJUU0okh4=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=EM9q3K/ubwu8yqBHXa7hknmiaQvfLDbUu2dZZBtk2vOCw2B8gSTKQSoIV5x2x3MITuV0XGma+rJCoZR8p0UPUiyZ9Nk9zmyzVKwm9Y0KQLEpILPGvrIFRXp3kwwXwBDzFsKXmHAqqf4RK57loCRHhkREhi+2yPgrnkUdX2thnjI= 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=V9xOjNQK; arc=none smtp.client-ip=209.85.160.169 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-qt1-f169.google.com with SMTP id d75a77b69052e-43dfa30c4c3so5940801cf.1 for ; Tue, 21 May 2024 15:21:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716330076; x=1716934876; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=uWatbwj/IWi1yLtM5x+DhOm7/0gMUC6oEuIDN8i47VI=; b=V9xOjNQK9E16hDKUiUz2r2lwU+OQZg9sLd4rP0vTgZu110K+Aw3WA3suADL1jEDNf7 WhAv1Ud3SHqfLSncBycT2P+JzT+xrNb7HZKeAh/hFZOP2pqloyb7ob/X6WNdR26swWe8 3DiNugOAksvkQ1toStj+4tpanBj1T9rg+YkcA/wTYoXoQN29PRK9A0zyhH2/puetodIE TkQPL5A2B6FwJg7jF4J4vQX1UasCs8gSOk1kD/fi7t+e/iMH1g6kqLfWhXF9iQCGaw0a czdN7J7WSsgN8kskDJRDo54TzIYgdcoMICqaHsw6vn+qCbBv6xlXrr1doiBouVGNXVTq 1sXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716330076; x=1716934876; h=content-transfer-encoding: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=uWatbwj/IWi1yLtM5x+DhOm7/0gMUC6oEuIDN8i47VI=; b=eqtThfB4BhaMamoDdHckOTk/Tl6um+xEnYGApDW8dWnAhZLrhWhG1jJMIWAzseIqsF kgsG+8xb0mAe/VNOi0Kc1RbBUsEf2hGTrAol7J0bCYo6lsnTueseqw3BgZOaTIXvaQlU 2ibcQnYR+x0r3hwJLFFMQfkMm6nBH87+gwVYlcM8Sb3/biGDH2gZlEUKMowH/Z549DrD 1/dC5khDC0J6+7f4w+LkKPHD4z6jnGJZ8m6EeZVudW2vBIM6y06iQkhrntmpSWaMRgun I7jDF4unrYXZGqNlzJmTfLbQdkURu6bIlvTiiSdtDvtVCFJM3yccXcXkY/q9IDgB0BXr acfA== X-Forwarded-Encrypted: i=1; AJvYcCXRgzAEapRvuYC0Rrp3kQzzH+REYrDroMQzYAP2P3Y7zhPRF9SKequBpCYKk2zFh5soY5bmNCR4pIbtA/MvutOD5oZJNqIaCbhN1Q3V X-Gm-Message-State: AOJu0YyQKW6QvDUW2OPNtDmsVXKCF8ZOffLS4VqtrcSmMTVYzTqt6Txg Xf71jPMyPHdzytvRSVCqBOI9JVzeSOebB40O25T0IrlWeJuX/feBTC8aNdP/9IU0VRxWU6qCpBH 56xY3c9rW+YaoU34F8gwgO1oq8EIgst+eKFpnGJlVEKE= X-Received: by 2002:a05:6214:f28:b0:6a0:a38e:d52 with SMTP id 6a1803df08f44-6ab8091c73cmr1975866d6.4.1716330075944; Tue, 21 May 2024 15:21:15 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: In-Reply-To: From: Mikhail Gavrilov Date: Wed, 22 May 2024 03:21:04 +0500 Message-ID: Subject: Re: 6.10/bisected/regression - commit 8430557fc584 cause warning at mm/page_table_check.c:198 __page_table_check_ptes_set+0x306 To: Peter Xu Cc: Pavel Tatashin , axelrasmussen@google.com, David Hildenbrand , nadav.amit@gmail.com, Andrew Morton , Linux Memory Management List , Linux List Kernel Mailing Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, May 22, 2024 at 2:37=E2=80=AFAM Peter Xu wrote: > Hmm I still cannot reproduce. Weird. > > Would it be possible for you to identify which line in debug_vm_pgtable.c > triggered that issue? > > I think it should be some set_pte_at() but I'm not sure, as there aren't = a > lot and all of them look benign so far. It could be that I missed > something important. I hope it's helps: > sh /usr/src/kernels/(uname -r)/scripts/faddr2line /lib/debug/lib/modules/= (uname -r)/vmlinux debug_vm_pgtable+0x1c04 debug_vm_pgtable+0x1c04/0x3360: native_ptep_get_and_clear at arch/x86/include/asm/pgtable_64.h:94 (inlined by) ptep_get_and_clear at arch/x86/include/asm/pgtable.h:1262 (inlined by) ptep_clear at include/linux/pgtable.h:509 (inlined by) pte_clear_tests at mm/debug_vm_pgtable.c:643 (inlined by) debug_vm_pgtable at mm/debug_vm_pgtable.c:1392 > cat -n /usr/src/debug/kernel-6.9-10323-g8f6a15f095a6/linux-6.10.0-0.rc0.2= 0240521git8f6a15f095a6.10.fc41.x86_64/mm/debug_vm_pgtable.c | sed -n '1387,= 1397 p' 1387 * Page table modifying tests. They need to hold 1388 * proper page table lock. 1389 */ 1390 1391 args.ptep =3D pte_offset_map_lock(args.mm, args.pmdp, args.vaddr, &p= tl); 1392 pte_clear_tests(&args); 1393 pte_advanced_tests(&args); 1394 if (args.ptep) 1395 pte_unmap_unlock(args.ptep, ptl); 1396 1397 ptl =3D pmd_lock(args.mm, args.pmdp); --=20 Best Regards, Mike Gavrilov.