From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 008ABCCA47F for ; Wed, 6 Jul 2022 14:52:47 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 45FB16B0071; Wed, 6 Jul 2022 10:52:47 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 40EFC6B0073; Wed, 6 Jul 2022 10:52:47 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2FE6F6B0074; Wed, 6 Jul 2022 10:52:47 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 2199B6B0071 for ; Wed, 6 Jul 2022 10:52:47 -0400 (EDT) Received: from smtpin25.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id E4171204DA for ; Wed, 6 Jul 2022 14:52:46 +0000 (UTC) X-FDA: 79656966732.25.9B90ED1 Received: from outbound-smtp10.blacknight.com (outbound-smtp10.blacknight.com [46.22.139.15]) by imf05.hostedemail.com (Postfix) with ESMTP id 1B39F100011 for ; Wed, 6 Jul 2022 14:52:45 +0000 (UTC) Received: from mail.blacknight.com (pemlinmail04.blacknight.ie [81.17.254.17]) by outbound-smtp10.blacknight.com (Postfix) with ESMTPS id 4A8B91C3A4C for ; Wed, 6 Jul 2022 15:52:44 +0100 (IST) Received: (qmail 16294 invoked from network); 6 Jul 2022 14:52:44 -0000 Received: from unknown (HELO techsingularity.net) (mgorman@techsingularity.net@[84.203.198.246]) by 81.17.254.9 with ESMTPSA (AES256-SHA encrypted, authenticated); 6 Jul 2022 14:52:44 -0000 Date: Wed, 6 Jul 2022 15:52:41 +0100 From: Mel Gorman To: Oliver Sang Cc: Andrew Morton , 0day robot , LKML , linux-mm@kvack.org, lkp@lists.01.org, Nicolas Saenz Julienne , Marcelo Tosatti , Vlastimil Babka , Michal Hocko , Hugh Dickins Subject: Re: [mm/page_alloc] 2bd8eec68f: BUG:sleeping_function_called_from_invalid_context_at_mm/gup.c Message-ID: <20220706145241.GG27531@techsingularity.net> References: <20220613125622.18628-8-mgorman@techsingularity.net> <20220703132209.875b823d1cb7169a8d51d56d@linux-foundation.org> <20220706095535.GD27531@techsingularity.net> <20220706115328.GE27531@techsingularity.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1657119166; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MgEb8yZnXSEbFI/LG7P3RPtaqFiO7WRrt6qp7RIoaJU=; b=lLhw5iyYaiNuafKiZlAIub0JguRyQp/VgXm6SU1Rlkzw+R/yrCY9DM93uNIatRSUGvZhIu XD3PrcJwP+rsOAIKMmidwUn4wiIFjrFwx9arZp14PDmgWqZLdlv9ta9WyulH/XmnRGVZlK cpJh1qCpwKCeYWNVgJOymVF3N6i5iqs= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1657119166; a=rsa-sha256; cv=none; b=3RPRvJu4rfTm62UmFREsb36Lpm+HtF29L3MHbXdYnpNt3lrXcETyKx2sEVG6ZdA9edXrrc GwFOWG6aqmm5gFhpPQduO+VDiqum8RWbRyyIkowiiXcBPdnb3DiuEPe041wXlQ/q6Cnjg5 DX/nJIrqre0N482YRTp9fO3ofgslupw= ARC-Authentication-Results: i=1; imf05.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf05.hostedemail.com: domain of mgorman@techsingularity.net designates 46.22.139.15 as permitted sender) smtp.mailfrom=mgorman@techsingularity.net X-Stat-Signature: 79fjacrmuizyhua9zekqj66i84t11mu1 X-Rspamd-Queue-Id: 1B39F100011 X-Rspam-User: Authentication-Results: imf05.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf05.hostedemail.com: domain of mgorman@techsingularity.net designates 46.22.139.15 as permitted sender) smtp.mailfrom=mgorman@techsingularity.net X-Rspamd-Server: rspam10 X-HE-Tag: 1657119165-881609 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Wed, Jul 06, 2022 at 10:21:36PM +0800, Oliver Sang wrote: > > I tried reproducing this on a 2-socket machine with Xeon > > Gold Gold 5218R CPUs. It was necessary to set timeouts in both > > vm/settings and kselftest/runner.sh to avoid timeouts. Testing with > > a standard config on my original 5.19-rc3 baseline and the baseline > > b13baccc3850ca8b8cccbf8ed9912dbaa0fdf7f3 both passed. I tried your kernel > > config with i915 disabled (would not build) and necessary storage drivers > > and network drivers enabled (for boot and access). The kernel log shows > > a bunch of warnings related to USBAN during boot and during some of the > > tests but otherwise compaction_test completed successfully as well as > > the other VM tests. > > > > Is this always reproducible? > > not always but high rate. > we actually also observed other dmesgs stats for both 2bd8eec68f74 and its > parent Ok, it's unclear what the "other dmesg stats" are but given that it happens for the parent. Does 5.19-rc2 (your baseline) have the same messages as 2bd8eec68f74^? Does the kselftests vm suite always pass but sometimes fails with 2bd8eec68f74? > but those dmesg.BUG:sleeping_function_called_from_invalid_context_at* > seem only happen on 2bd8eec68f74 as well as the '-fix' commit. > And roughly how often does it happen? I'm running it in a loop now to see if I can trigger it locally. -- Mel Gorman SUSE Labs