From patchwork Sat Jun 12 00:07:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Wilcox X-Patchwork-Id: 12316749 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0E162C48BD1 for ; Sat, 12 Jun 2021 00:08:43 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id A7E02613CA for ; Sat, 12 Jun 2021 00:08:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A7E02613CA Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 280DC6B006C; Fri, 11 Jun 2021 20:08:42 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 231BD6B006E; Fri, 11 Jun 2021 20:08:42 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0D1E06B0070; Fri, 11 Jun 2021 20:08:42 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0183.hostedemail.com [216.40.44.183]) by kanga.kvack.org (Postfix) with ESMTP id CBE9E6B006C for ; Fri, 11 Jun 2021 20:08:41 -0400 (EDT) Received: from smtpin17.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id D37928249980 for ; Sat, 12 Jun 2021 00:08:39 +0000 (UTC) X-FDA: 78243135558.17.839DC57 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf07.hostedemail.com (Postfix) with ESMTP id 83F86A000247 for ; Sat, 12 Jun 2021 00:08:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=RjWJ1NZ3vwYPBTAFC+ASeigyDNxNHAnA0b2/TVtWoyw=; b=X93fnG1nwh+PBUC+frGYBdUFfz 7IbbJfz44j/vtvJgzETWUaP7T7h1tcUr5tbmjjGuViSJxPr7eV5KvxzKBM10VNDFkUTOJR2gmkErn 7PT07xE8BTownjtAzvGkt39ynoEc+sx62hz9u5aR1JklYhteNzPXxefSWo1apjuldxm4P9tVLUb+n jeIgKsOgjO36OwY6H329WGtITprzAXdYZiEyqY/HNB5OX/JGPWa2jrtGJ7uc4D95acDgrLsrU0kXi aeAHUmHwWw/a9/hdAVaEw3Dm40eYyblmSAokSQAud4823Y3d7XHXX4u1jy9x2580cRU2p1ytO08Nz qsiGgjEw==; Received: from willy by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1lrrBE-003Fq4-7a; Sat, 12 Jun 2021 00:07:26 +0000 From: "Matthew Wilcox (Oracle)" To: akpm@linuxfoundation.org Cc: "Matthew Wilcox (Oracle)" , linux-mm@kvack.org, Heiko Carstens , Rafael Aquini , Vlastimil Babka , Yu Zhao , Vladimir Davydov , kirill.shutemov@linux.intel.com Subject: [PATCH] mm: Mark idle page tracking as BROKEN Date: Sat, 12 Jun 2021 01:07:14 +0100 Message-Id: <20210612000714.775825-1-willy@infradead.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Authentication-Results: imf07.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=X93fnG1n; dmarc=none; spf=none (imf07.hostedemail.com: domain of willy@infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=willy@infradead.org X-Rspamd-Server: rspam02 X-Stat-Signature: hsu1rni1ufjnagjgydeii4j8amkaxgnq X-Rspamd-Queue-Id: 83F86A000247 X-HE-Tag: 1623456512-885326 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: In discussion with other MM developers around how idle page tracking should be fixed for transparent huge pages, several expressed the opinion that it should be removed as it is inefficient at accomplishing the job that it is supposed to, and we have better mechanisms (eg uffd) for accomplishing the same goals these days. Mark the feature as BROKEN for now and we can remove it entirely in a few months if nobody complains. It is not enabled by Android, ChromeOS, Debian, Fedora or SUSE. Red Hat enabled it with RHEL-8.1 and UEK followed suit, but I have been unable to find why RHEL enabled it. Signed-off-by: Matthew Wilcox (Oracle) Acked-by: Yu Zhao Acked-by: Kirill A. Shutemov --- mm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/Kconfig b/mm/Kconfig index 02d44e3420f5..311b50bb92ce 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -772,7 +772,7 @@ config DEFERRED_STRUCT_PAGE_INIT config IDLE_PAGE_TRACKING bool "Enable idle page tracking" - depends on SYSFS && MMU + depends on SYSFS && MMU && BROKEN select PAGE_EXTENSION if !64BIT help This feature allows to estimate the amount of user pages that have