Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp440471rdb; Thu, 21 Dec 2023 13:58:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IEuUG1yKT9tF8fSN6fNavNIra1ZanHuUyTurz+sXzPqBqtjA1Nso0oujEVUhxaCLeUs/BEz X-Received: by 2002:a05:620a:1458:b0:779:e22e:1e8 with SMTP id i24-20020a05620a145800b00779e22e01e8mr1769723qkl.36.1703195921241; Thu, 21 Dec 2023 13:58:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703195921; cv=none; d=google.com; s=arc-20160816; b=gfaeFfhL/Xm/MssRtXs8G6SN3Mf2ddDE+CQjwWkRkrwB5gvntqmOgjHERB+hV7hF2I dvacBQs+qJo3OoxyPE+tgniqsrLxQZk1Eu7Xs5i7cPXfbJmct1KH5MG21ZMEyzsaKuGR D0tVrpItgFCdltu4YIo6eDEW4I5kxOt0RsEaKCpqSPL/28Qz4eLPArG+SOgRGpVE1NQb DdcH8990oHEkkUpZKetczgWl+GxFxVtURpFFNkZjlHNzxL/wi+KV7dhk1qYj4qBrA161 zyMWiCYppPBoi/LKUld1rn1QBeNIN0cjx59MIRnpKTqVyNxs5FdVAZ8FUZyqDWkGDtuQ h2vA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=+wRN1zUP/NSL88ZlLqROL9CbbwYfhNhqK82U0SJDIFo=; fh=SC4fdrugVwiDUS57vhXJ3gcn6rHGBAwmtGiKecMxyQs=; b=KvuaV4Aj67hCiz/yTjFAn/Kae+pAS3tEutBvDbe5HkhMTISk3ZZp2s7jOH5A7lxbmc Y3qQm6p2n6Gu4wYp9ligKC5gS7tazc2bwA63/3ROeDbLCUd5Ln/3mzPmEJv9NBnyvHDb Aqc97OBz9/Uz586LsBrP7Rb+GgbKbr81E4K7letbasnY0nFrmtQS9PEgK7MBBGJTp9Os 2xEhvGcJrVa/aPpe0D880ou7iwOm3rabqxAbPk2DLUGuKCdQVtUfVd+6AVBRTey18Dr2 qNM98+H1OJoJdwdAIVVhEymGpDTQQDLvpkbZmmajb6xZfAfl7o4nMO98bdVZj51gDNRD Gq/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=xNEDNhz5; spf=pass (google.com: domain of linux-kernel+bounces-9107-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9107-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 x18-20020a05622a001200b004257f21e5adsi3074307qtw.520.2023.12.21.13.58.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 13:58:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9107-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=korg header.b=xNEDNhz5; spf=pass (google.com: domain of linux-kernel+bounces-9107-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9107-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 050F11C219B1 for ; Thu, 21 Dec 2023 21:58:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3F1707765F; Thu, 21 Dec 2023 21:58: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="xNEDNhz5" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6190F58224; Thu, 21 Dec 2023 21:58:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 78050C433C8; Thu, 21 Dec 2023 21:58:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1703195914; bh=GenD/ytiRuCbl0Hb/SKAjNHtBD9mpn1hrqVXcpK5Xq0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=xNEDNhz5QlzjnZRZ2nhBDfI7zoTlNezwdFp8dZqLiICEvy7+vFd1kD6XRoQl7MuF1 KmXh1xrzzp6i3wZqWF6wfAnWe6MmxscaVpkqCHEV14iU4XbXXSXUr7watwCyFxq7AZ aTxGfkZwPa+2sbtytnrbxkQTG9uQLytZxlOrHG2I= Date: Thu, 21 Dec 2023 13:58:33 -0800 From: Andrew Morton To: David Hildenbrand Cc: Oliver Sang , Matthew Wilcox , oe-lkp@lists.linux.dev, lkp@intel.com, Linux Memory Management List , linux-kernel@vger.kernel.org Subject: Re: [linux-next:master] [mm] bbcbf2a3f0: kernel_BUG_at_mm/memory.c Message-Id: <20231221135833.92b8b2a97b28ad0545977f6c@linux-foundation.org> In-Reply-To: References: <202312192319.fa8f5709-oliver.sang@intel.com> <20231220141135.cb4241442b657104f0aeae34@linux-foundation.org> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 21 Dec 2023 12:32:04 +0100 David Hildenbrand wrote: > On 21.12.23 12:23, Oliver Sang wrote: > > hi, Andrew Morton, > > > > On Wed, Dec 20, 2023 at 02:11:35PM -0800, Andrew Morton wrote: > >> On Tue, 19 Dec 2023 23:46:50 +0800 kernel test robot wrote: > >> > >>> > >>> > >>> Hello, > >>> > >>> kernel test robot noticed "kernel_BUG_at_mm/memory.c" on: > >>> > >>> commit: bbcbf2a3f05f74f9d268eab57abbdce6a65a94ad ("mm: convert ksm_might_need_to_copy() to work on folios") > >> > >> I assume this is a bisection result, so it's quite repeatable? > > > > yes, we bisect to this commit, it's quite repeatable: > > > > ddd06bb63d9793ce bbcbf2a3f05f74f9d268eab57ab > > ---------------- --------------------------- > > fail:runs %reproduction fail:runs > > | | | > > :6 100% 6:6 dmesg.Kernel_panic-not_syncing:Fatal_exception > > :6 100% 6:6 dmesg.RIP:do_swap_page > > :6 100% 6:6 dmesg.invalid_opcode:#[##] > > :6 100% 6:6 dmesg.kernel_BUG_at_mm/memory.c > > > > > > Can you try with the snipped I sent? Please let me know if you need a > full patch for testing purposes. I think a full patch would be better, please.