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 49490C6FD20 for ; Fri, 24 Mar 2023 11:15:30 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 50D156B0072; Fri, 24 Mar 2023 07:15:29 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 4BCE06B0074; Fri, 24 Mar 2023 07:15:29 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3AB6A6B0075; Fri, 24 Mar 2023 07:15:29 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 2B1376B0072 for ; Fri, 24 Mar 2023 07:15:29 -0400 (EDT) Received: from smtpin19.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 0380180883 for ; Fri, 24 Mar 2023 11:15:28 +0000 (UTC) X-FDA: 80603535978.19.DA79C49 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by imf13.hostedemail.com (Postfix) with ESMTP id 3EC622000F for ; Fri, 24 Mar 2023 11:15:27 +0000 (UTC) Authentication-Results: imf13.hostedemail.com; dkim=pass header.d=suse.com header.s=susede1 header.b=tYtBHkKn; spf=pass (imf13.hostedemail.com: domain of mhocko@suse.com designates 195.135.220.28 as permitted sender) smtp.mailfrom=mhocko@suse.com; dmarc=pass (policy=quarantine) header.from=suse.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1679656527; 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: references:dkim-signature; bh=i2iOJQ2cBwIeRh7jfmFtt3V7v9mVqIjDAe9mWv1x44U=; b=pFg/McEUCRnryNzedecnNLHlNPjq0IMr4UHMJ2FHcvjMn6CdxwkWj+RPRdsx5ar288J/dm dvWBHwrVbmaSGlTPkCzEJbJuNopHHVwtVhHFcfEK9A0I7P6nDCB2RZZTT9E1L1arERjczC kTmwaxvQyz75Rpqs1m3HRuNnFax071A= ARC-Authentication-Results: i=1; imf13.hostedemail.com; dkim=pass header.d=suse.com header.s=susede1 header.b=tYtBHkKn; spf=pass (imf13.hostedemail.com: domain of mhocko@suse.com designates 195.135.220.28 as permitted sender) smtp.mailfrom=mhocko@suse.com; dmarc=pass (policy=quarantine) header.from=suse.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1679656527; a=rsa-sha256; cv=none; b=ZPzr2RfAdH/H81JxjaViHAGKWgmSJDlPT6IT1BHUtzIF3RHzTY90H1x1TGcDmmKg9RIuZP 0dnTzsxxd9P3dlD0GvUcHeQzkhFmsr1/PgK9wTfCWWSQpl5T3LxGW/gmohjpb6Ip9IXZzu EqD534hKbfU3MLRL4tIw3nqBGPo4pdw= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id A0A0433777; Fri, 24 Mar 2023 11:15:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1679656525; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type; bh=i2iOJQ2cBwIeRh7jfmFtt3V7v9mVqIjDAe9mWv1x44U=; b=tYtBHkKnJMFuKvkIoLLY6nYBE0BzCtmtYZO6wi3h/nh4JoqIHotdlkNH5HZBtW7J/2XDX+ l/38tbjS4b68QIN/okh7YS+rbPoTrsH82Y8NsCz9j+qCuHlByZydrvbUjAE3oHv3qBNshC 3nT/DkhKWh4ddxa2laQSu1E5ugFrIJs= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 7E614133E5; Fri, 24 Mar 2023 11:15:25 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 3hIbHU2GHWS3XAAAMHmgww (envelope-from ); Fri, 24 Mar 2023 11:15:25 +0000 Date: Fri, 24 Mar 2023 12:15:24 +0100 From: Michal Hocko To: Linus Torvalds , Naresh Kamboju , Joel Fernandes , "Kirill A. Shutemov" Cc: Andrew Morton , linux-mm@kvack.org, LKML Subject: WARN_ON in move_normal_pmd Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspam-User: X-Rspamd-Server: rspam03 X-Stat-Signature: 8g84b3rhwmamqfbw3junejp9u5no1aad X-Rspamd-Queue-Id: 3EC622000F X-HE-Tag: 1679656526-335312 X-HE-Meta: U2FsdGVkX188zPjOuvCqb2R2OXDI3nbKzSKN9llsXfRDLrH0vUh7CSO+W/cZf4NULgeS2c9t1NBSA0DYCXCDVxgSDLbQgDgObx/DG+wJBsehtG8REcM530Tjxyf3pANAVh6rW9kK9NZOXgWvqEsWU+8d4oyWqbJ9wlcUpnfQGEdSYpRPpqwqhEaDDf08JiyfbJYwaBMoIUCWRqC2DX9FDQ8Juo7VRkssSlppDW0yoE+hLkpiQpeOUDXIpy4DUKxc/NB4kY5e9MCeGDzAFo+lBDo+MFrtFYOVusIq1DBGT/OBuFs76UZp4m35v3wnXS7r6quVPYHsULverC91neKf8n2W/ZzbWGEVu8r4O60Z/4P/2etheyRaaXW91w7+lHyt6OI2f2BTSHV33W3zvOkzWb6ZME7cUWmrcHpGEX7eWKtjxpe7m4yWnRQ4L24Xu80qudIgjoEp8/vs5hYqzyhHvuFbXB+zH6+5nXoHl+wVlJGJEEoUyHqXRGUstfE3QBelXpH8e7W8cQDRG5AUOzuXQv+8WoxliEL2Bfb4aff1wkLVVwTIyQxetbztM5625sUBecU8ZtEEnImiK+vP0XZbgcB0PsVN47tEq91Rvj6lubUi51u9ihmAE/zY9AaRfm0ZJsnuqK0byfKqWraQwT3imLnxba1cyYiEksjDZqBufVBuVn1G4BfvFxonClivKxqKbk5IrPa4bpagsFVKBVDJfkVe2IPlWdfRHG3b0J2NJ8iZZEkJ+9DQFrfqjVfdB6DoGhSpQfVNIalYvvPerCejMG/PHEJng0iqkBDxIgzZKb8Vbzp/uD3MNLhxlaHt5xiLHSG+PxHBKvSr1WjV0MOTrL7VfZk5DAdGzThYjLKo2loTqOlm5tOKXmjeTuh1TNcy2CZGZGejo/x0qJA3OsB3wtj3y6nCsNuQTIYZZwAc4K1zU5i5YPXwHZ1zCiHrK5WLhOnUWC7tz5lvEwn2B+l qgo9bwKl awR9Mj7lgluVwBRCrc3/cDfUpNTbv1slk3zy2gaWelDDODcYECZprLQbtvQVZLZ9LtITp5318hvjGDic4yl8R2hHVKmrVCtWxOew++Y0oCC0VR6QNz8uPSvlOk4nhNhGOBMObtLWqn/YcjJZGOo6dkCmSAfeKnB0ulBHvJbBxFj9Wr8/7ObI+9WCt5mzY5HrPiL/5Pbv6EEo2YNIBh3ZV6QvYvg== 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: Hi, our QA is regularly hitting [ 544.198822][T20518] WARNING: CPU: 1 PID: 20518 at ../mm/mremap.c:255 move_pgt_entry+0x4c6/0x510 triggered by thp01 LTP test. This has been brought up in the past and resulted in f81fdd0c4ab7 ("mm: document warning in move_normal_pmd() and make it warn only once"). While it is good that the underlying problem is understood, it doesn't seem there is enough interest to fix it properly. Which is fair but I am wondering whether the WARN_ON gives us anything here. Our QA process collects all unexpected side effects of tests and a WARN* in the log is certainly one of those. This trigger bugs which are mostly ignored as there is no upstream fix for them. This alone is nothing really critical but there are workloads which do run with panic on warn configured and this issue would put the system down which is unnecessary IMHO. Would it be sufficient to replace the WARN_ON_ONCE by pr_warn_once? Thanks! -- Michal Hocko SUSE Labs