From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 42F242857C7 for ; Wed, 25 Mar 2026 14:45:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774449919; cv=none; b=mBZnx45srUYwemZ8tr57zqgrri8V+fZGMk1B+nc3xf9GmXuCohsH9BgN4lKDDqXvIbt1e9DlCLvB0AZ8avIlRXker/BFLm2yL8sCKxScaxBZ7f5x/iy4kLeBG9JazFFRrVDJfuwgax2fVQA3k7Abl1lxTL8CjYnDaNKxLRv8XCw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774449919; c=relaxed/simple; bh=/an/KwCQntWa3hhEkzoIDbyA6XLJ2HTuCSgYPgpYTOU=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=JJOptnB26NrM1b1azgl1SyO170+4BYfnv7T9KobKMYoE2J/wDq3Ngv1HeF4FJ1GTeyBCoy85Bbvhmm7JlxY7VR9TawLuECdJ+Eo2yU1T5LHsGL1kvXTw3xM4neaJZPG4C2RqOP6CC0ZLy+yfbD038v4Nif4pMbdx8YfDzgJbBMc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=Up5EPsQ4; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="Up5EPsQ4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0EF3CC116C6; Wed, 25 Mar 2026 14:45:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1774449918; bh=/an/KwCQntWa3hhEkzoIDbyA6XLJ2HTuCSgYPgpYTOU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Up5EPsQ4bUzLHKopp1zrTWgXDcejLPlvkFcAarVOI++LnRDNqPd4bqQH/BGWtIy/7 gnxCvXCn9eMIICSDI3yNhJhvULzoOqKeHPBv+30UgoBXaE9Qq098KhaxDekbHh9Ke2 Ub5E7IgxumcSs8ViB7lHbM8pe81IkKBGAlY+RJGM= Date: Wed, 25 Mar 2026 07:45:16 -0700 From: Andrew Morton To: "Lorenzo Stoakes (Oracle)" Cc: Nico Pache , linux-kernel@vger.kernel.org, linux-mm@kvack.org, aarcange@redhat.com, anshuman.khandual@arm.com, apopple@nvidia.com, baohua@kernel.org, baolin.wang@linux.alibaba.com, byungchul@sk.com, catalin.marinas@arm.com, cl@gentwo.org, corbet@lwn.net, dave.hansen@linux.intel.com, david@kernel.org, dev.jain@arm.com, gourry@gourry.net, hannes@cmpxchg.org, hughd@google.com, jackmanb@google.com, jack@suse.cz, jannh@google.com, jglisse@google.com, joshua.hahnjy@gmail.com, kas@kernel.org, lance.yang@linux.dev, Liam.Howlett@oracle.com, lorenzo.stoakes@oracle.com, mathieu.desnoyers@efficios.com, matthew.brost@intel.com, mhiramat@kernel.org, mhocko@suse.com, peterx@redhat.com, pfalcato@suse.de, rakie.kim@sk.com, raquini@redhat.com, rdunlap@infradead.org, richard.weiyang@gmail.com, rientjes@google.com, rostedt@goodmis.org, rppt@kernel.org, ryan.roberts@arm.com, shivankg@amd.com, sunnanyong@huawei.com, surenb@google.com, thomas.hellstrom@linux.intel.com, tiwai@suse.de, usamaarif642@gmail.com, vbabka@suse.cz, vishal.moola@gmail.com, wangkefeng.wang@huawei.com, will@kernel.org, willy@infradead.org, yang@os.amperecomputing.com, ying.huang@linux.alibaba.com, ziy@nvidia.com, zokeefe@google.com Subject: Re: [PATCH mm-unstable v4 2/5] mm: introduce is_pmd_order helper Message-Id: <20260325074516.46bfcf772d5eb4482d7df36d@linux-foundation.org> In-Reply-To: References: <20260325114022.444081-1-npache@redhat.com> <20260325114022.444081-3-npache@redhat.com> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 25 Mar 2026 12:11:43 +0000 "Lorenzo Stoakes (Oracle)" wrote: > On Wed, Mar 25, 2026 at 05:40:19AM -0600, Nico Pache wrote: > > In order to add mTHP support to khugepaged, we will often be checking if a > > given order is (or is not) a PMD order. Some places in the kernel already > > use this check, so lets create a simple helper function to keep the code > > clean and readable. > > > > Acked-by: David Hildenbrand (Arm) > > Reviewed-by: Baolin Wang > > Reviewed-by: Dev Jain > > Reviewed-by: Wei Yang > > Reviewed-by: Lance Yang > > Reviewed-by: Barry Song > > Reviewed-by: Zi Yan > > Reviewed-by: Pedro Falcato > > Reviewed-by: Lorenzo Stoakes > > Suggested-by: Lorenzo Stoakes > > Nit, but could we please update both to: > > Lorenzo Stoakes (Oracle) hp2:/usr/src/25> grep lorenzo.stoakes@oracle.com patches/*.patch|wc -l 105 Please lmk if you'd prefer that I go through these and update the email address.