From patchwork Thu Aug 12 09:21:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Valdis_Kl=C4=93tnieks?= X-Patchwork-Id: 12434331 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=-8.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 8742CC4338F for ; Thu, 12 Aug 2021 09:22:02 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 082BF60FC4 for ; Thu, 12 Aug 2021 09:22:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 082BF60FC4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=vt.edu Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 64F976B0071; Thu, 12 Aug 2021 05:22:01 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 5FEDB6B0072; Thu, 12 Aug 2021 05:22:01 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4EDA06B0073; Thu, 12 Aug 2021 05:22:01 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0111.hostedemail.com [216.40.44.111]) by kanga.kvack.org (Postfix) with ESMTP id 32B706B0071 for ; Thu, 12 Aug 2021 05:22:01 -0400 (EDT) Received: from smtpin36.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id C2BC91F87C for ; Thu, 12 Aug 2021 09:22:00 +0000 (UTC) X-FDA: 78465886800.36.F47761C Received: from mail-qt1-f172.google.com (mail-qt1-f172.google.com [209.85.160.172]) by imf14.hostedemail.com (Postfix) with ESMTP id 4CA106003FAB for ; Thu, 12 Aug 2021 09:22:00 +0000 (UTC) Received: by mail-qt1-f172.google.com with SMTP id z24so4578054qtn.8 for ; Thu, 12 Aug 2021 02:22:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vt-edu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:mime-version:content-transfer-encoding :date:message-id; bh=k8Za7y9BNnNdxPxBwhOIhVEAkJxwSuy59zGXp6Xfjsg=; b=Um0HNbzqlIGBGnTbipSyONivyE0LRgoWchQzm4sCb1Yl7N17VY0wexHzwr/0DI/QcQ Y5DfKDFYjaA0jmjLP6oSJgKFy+CgwayZEWhE0vuPQpQ6L0lrOphGOF7NmSw5pZldB0id PJtprOg+a9H7P56i7ttku1XToiK95oPtBnT14KFGZ0t8sVE0a0HwqR1mclwkJXb3fVPi 9of9NKc8RS0mrTaHK4ufXo8uhSK2OYzTT7y4FNRg0iJp3VpJCVPfy1lMknpDvB92uwag tI/Nb+9G0K6sXidToCiaOcO/Vem2dseagDhBSbvXyTBJnoMk0Pgj3zToSCCheH5oCZnz pUag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:mime-version :content-transfer-encoding:date:message-id; bh=k8Za7y9BNnNdxPxBwhOIhVEAkJxwSuy59zGXp6Xfjsg=; b=o9+9ZdO4cDN9C7YYf3JW60jULvmZyktivPi6MXzvWPR+WRRj42xC5ZH7rL9zLuNU0w PxG3MVKR37+mzVftZyCDYNj3BWSMrCtcSaKbcvuBl4/qPs/pg1OfNDAAWsvctrDH/yCG rVNU4CDxnas3EyP1SCAei65lbS99H3eSaITcWPm4bjrqjQ4TcM534ak19cMblM8cqEvu 2U5WE5WWzFgNfjcIVRy+515hhscr9pNGI0VUOXNvOWb4XpgW0XDgO3+KGKtuEEtR4Yo6 bll1opvufRsEWuELM3SyGkUKgi+U5sos2xavn63YWowLgf5GUxlKzWt2EcNHA62FRpIL G/rA== X-Gm-Message-State: AOAM530I8TAuis0hhJDl8cJi0ZuR/MOwADDFPi2aYxafAzCU4FnG+TqT mgPbd9T0fN6w62jXUsiPfwbrBg== X-Google-Smtp-Source: ABdhPJy0duvwF6KkErETxIiDAT15d9gpPJZ3sEVW0u6uE30W2XfrMutKpaGDS8XpAiEVBuwbM6gMmw== X-Received: by 2002:ac8:4986:: with SMTP id f6mr2896683qtq.125.1628760119637; Thu, 12 Aug 2021 02:21:59 -0700 (PDT) Received: from turing-police ([2601:5c0:c380:d61::359]) by smtp.gmail.com with ESMTPSA id z82sm235580qkb.95.2021.08.12.02.21.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Aug 2021 02:21:58 -0700 (PDT) From: "Valdis =?utf-8?q?Kl=C4=93tnieks?= " X-Google-Original-From: "Valdis =?utf-8?q?Kl=C4=93tnieks?= " X-Mailer: exmh version 2.10.0-pre 07/05/2021 with nmh-1.7+dev To: SeongJae Park , Andrew Morton Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Mime-Version: 1.0 Date: Thu, 12 Aug 2021 05:21:57 -0400 Message-ID: <144813.1628760117@turing-police> X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 4CA106003FAB X-Stat-Signature: zs955utpum1qdwtx9xp7aho66qef7cst Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=vt-edu.20150623.gappssmtp.com header.s=20150623 header.b=Um0HNbzq; dmarc=pass (policy=none) header.from=vt.edu; spf=pass (imf14.hostedemail.com: domain of valdis@vt.edu designates 209.85.160.172 as permitted sender) smtp.mailfrom=valdis@vt.edu X-HE-Tag: 1628760120-137217 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000045, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: In this commit: commit fedc37448fb1be5d03e420ca7791d4286893d5ec Author: SeongJae Park Date: Tue Aug 10 16:55:51 2021 +1000 mm/idle_page_tracking: make PG_idle reusable diff --git a/mm/Kconfig b/mm/Kconfig index 504336de9a1e..d0b85dc12429 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -739,10 +739,18 @@ config DEFERRED_STRUCT_PAGE_INIT lifetime of the system until these kthreads finish the initialisation. +config PAGE_IDLE_FLAG + bool "Add PG_idle and PG_young flags" + help + This feature adds PG_idle and PG_young flags in 'struct page'. PTE + Accessed bit writers can set the state of the bit in the flags to let + other PTE Accessed bit readers don't disturbed. This needs to be converted to proper, or at least comprehensible, English....