Message ID | 20220811231643.1012912-9-zi.yan@sent.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 0E074C25B0E for <linux-mm@archiver.kernel.org>; Thu, 11 Aug 2022 23:17:08 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A3EF08E000B; Thu, 11 Aug 2022 19:16:54 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 9F18E8E0007; Thu, 11 Aug 2022 19:16:54 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 820758E000D; Thu, 11 Aug 2022 19:16:54 -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 5DEA28E000B for <linux-mm@kvack.org>; Thu, 11 Aug 2022 19:16:54 -0400 (EDT) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 30FCD161906 for <linux-mm@kvack.org>; Thu, 11 Aug 2022 23:16:54 +0000 (UTC) X-FDA: 79788873948.18.E23947E Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by imf28.hostedemail.com (Postfix) with ESMTP id CC042C016F for <linux-mm@kvack.org>; Thu, 11 Aug 2022 23:16:53 +0000 (UTC) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 792A95C017D; Thu, 11 Aug 2022 19:16:50 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 11 Aug 2022 19:16:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sent.com; h=cc :cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to :reply-to:sender:subject:subject:to:to; s=fm1; t=1660259810; x= 1660346210; bh=uhHjqO7fMake/4Yw6e31S9FQXGCwAM7iMxFEnUEtZO8=; b=I xburOzFI2YavZy7hDOd13A3/uBpUcF+4U/SAds6S8HDCkF5Owkz2M1kTkV93F+95 xGjM71TLIEd3xgzhnZ9ZfpptKuGEFPZU64C9A3/zc28ET8TTHb8wxHzdxVgNv/VJ hIzwRgASSRZ8TkmYC6yB1s3aBcTTDZ41K7s0RpGsHD3hEOedm26KRUXCGB+HegFs H74C6EsqK6KS3/wV+iMkruv+P/RphinFbCk6/XoE5dzlTXfqWaE7d49wx5lC45f4 wXUg8PVjTZr8V+EfQwBv8nlnUqPQ9eX7VH7tLImQnhkmGdc/gSEZ/E/nmmplc5Nx 0N8vqm1fOyE+EdSu4utFA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1660259810; x=1660346210; bh=u hHjqO7fMake/4Yw6e31S9FQXGCwAM7iMxFEnUEtZO8=; b=exTAiZiEZnbLkmnO/ ikhXgYLh0lCm+0VKyrVL765VJ44oLKYdhfx5vsxY5vruHwptG/h5YFBNpsXnDNtN 4pJXt3l/EpZwAYFORNASEG7NC6f/eDIc4d700hpeBAtQD951YLEd3QvrhmZqK0O3 Q0EG0ZGd0KqxysvOJvMuZBdF0587x4u91gBzC8aTsDnNove6Yb/OxolIYkTwSAZB 6UaRRMpT/t9Izm8fMuEbP5+QXmV6/7Z2hlg/HusepiRko2DObkTWk6/rzVePPpOE AUqsxv/Fn+I/TmBsIAR84URimQAitewoZ+cdFddMV7a+eztde1pL1pFZOFSINFHn jLnIA== X-ME-Sender: <xms:4o31YnXDrYpJzGS_dW0slUegEufbPwAAm9C_DKeITBV6Roxiu3412Q> <xme:4o31YvlyaRfNKRr1fk2ym_OybkMfpMnsR5XSKTwPDpbDMesxea87Rtm5TE5E9XOrz _yAdQC5-AG4cwW52w> X-ME-Received: <xmr:4o31YjYCHphl207pA_Xc1iZrYmwnnwJE7A-eEXV2TGvy4D_vnpzLl0Yl_FiFvqhRU0sOtKWCTENFG3hwSA> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdeghedgvddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhhrggfgsedtqhertdertddtnecuhfhrohhmpegkihcu jggrnhcuoeiiihdrhigrnhesshgvnhhtrdgtohhmqeenucggtffrrghtthgvrhhnpeegge ehudfgudduvdelheehteegledtteeiveeuhfffveekhfevueefieeijeegvdenucevlhhu shhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpeiiihdrhigrnhessh gvnhhtrdgtohhm X-ME-Proxy: <xmx:4o31YiXhbt2fT_IkbjgW0vn-WSaokthNRMGUFqXWhucyYdu-givWog> <xmx:4o31Yhnf3MYbCgfl3mJ3xVLtjE2mua5g0O1ME0BysVp-dv6H08LwzQ> <xmx:4o31YvcPbvali2i4O-NRy0Ld8JQ48guxfoa3nFfAPbuqNfmfiNIihg> <xmx:4o31YqdpjT_XXvtUkaX56xSLyvOFoLo3tPb7xtetlKUBxjPjcy0uFQ> Feedback-ID: iccd040f4:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 11 Aug 2022 19:16:49 -0400 (EDT) From: Zi Yan <zi.yan@sent.com> To: linux-mm@kvack.org Cc: David Hildenbrand <david@redhat.com>, Matthew Wilcox <willy@infradead.org>, Vlastimil Babka <vbabka@suse.cz>, "Kirill A . Shutemov" <kirill.shutemov@linux.intel.com>, Mike Kravetz <mike.kravetz@oracle.com>, John Hubbard <jhubbard@nvidia.com>, Yang Shi <shy828301@gmail.com>, David Rientjes <rientjes@google.com>, James Houghton <jthoughton@google.com>, Mike Rapoport <rppt@kernel.org>, linux-kernel@vger.kernel.org Subject: [RFC PATCH v2 08/12] mm/page_reporting: set page_reporting_order to -1 to prevent it running Date: Thu, 11 Aug 2022 19:16:39 -0400 Message-Id: <20220811231643.1012912-9-zi.yan@sent.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220811231643.1012912-1-zi.yan@sent.com> References: <20220811231643.1012912-1-zi.yan@sent.com> Reply-To: Zi Yan <ziy@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1660259813; a=rsa-sha256; cv=none; b=4t71/+aOre4b0HAIdOI2fBPQh+59pQ4dOBN9Ft5tXfi7IaeohzZSpZ7NBGWr4QGLE9u6RY UlBTD+TFFuu9rN47tU7ssF5cmkzM50quUlzp6L5+ApjBIEltPiFCOR6lnvpLibK1eVB594 VTAKPUKHbr8UXjlHQGTcUvqtaG97KO0= ARC-Authentication-Results: i=1; imf28.hostedemail.com; dkim=pass header.d=sent.com header.s=fm1 header.b="I xburOz"; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=exTAiZiE; spf=pass (imf28.hostedemail.com: domain of zi.yan@sent.com designates 66.111.4.28 as permitted sender) smtp.mailfrom=zi.yan@sent.com; dmarc=pass (policy=none) header.from=sent.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1660259813; h=from:from:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=uhHjqO7fMake/4Yw6e31S9FQXGCwAM7iMxFEnUEtZO8=; b=kly1PIb/btx/T1ULleL0+aocMYs+knF1GRxiLIy2CD1Egip33PelHM7ohahOXP7XuYCjvN J2e2A1f4+dcpL/pz7555dCGm176dlRGPV633Imu4JfhQSAqymyvBXZ73Khapq5KvxaqqtI 6B6wdzC/iNZwhH3lysrbsQKsoADlB/w= X-Stat-Signature: wix6em6odjo5nhpt5ko1hccfwftpic8p X-Rspamd-Queue-Id: CC042C016F X-Rspam-User: X-Rspamd-Server: rspam03 Authentication-Results: imf28.hostedemail.com; dkim=pass header.d=sent.com header.s=fm1 header.b="I xburOz"; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=exTAiZiE; spf=pass (imf28.hostedemail.com: domain of zi.yan@sent.com designates 66.111.4.28 as permitted sender) smtp.mailfrom=zi.yan@sent.com; dmarc=pass (policy=none) header.from=sent.com X-HE-Tag: 1660259813-522277 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: <linux-mm.kvack.org> |
Series |
Make MAX_ORDER adjustable as a kernel boot time parameter.
|
expand
|
diff --git a/mm/page_reporting.c b/mm/page_reporting.c index b48d6ad82998..001438f3dbeb 100644 --- a/mm/page_reporting.c +++ b/mm/page_reporting.c @@ -11,7 +11,11 @@ #include "page_reporting.h" #include "internal.h" -unsigned int page_reporting_order = MAX_PHYS_CONTIG_ORDER + 1; +/* + * Set page_reporting_order to (unsigned int)-1 to prevent it running until the + * value is being overwritten + */ +unsigned int page_reporting_order = (unsigned int)-1; module_param(page_reporting_order, uint, 0644); MODULE_PARM_DESC(page_reporting_order, "Set page reporting order");