From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-186.mta0.migadu.com (out-186.mta0.migadu.com [91.218.175.186]) (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 DE58241A8F for ; Mon, 20 Apr 2026 12:59:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.186 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776689999; cv=none; b=BdTwALGhNhF3TXMgwyKuR6BIcRMgOwD+m0vXqWYCH0Cf/bbr+v4S1UMgKreIKp8VDSCHy4cHcqVx5fvKGnDXBctSVh/ug1pgfkkDN8jSsE4pUf1+8qhIEXFcI3DYL7a7sTXsa7v0iSfNZlURkC/IWVZaLEF1uM2lHVNv1cgl1HE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776689999; c=relaxed/simple; bh=7KBlejIvP9GYkvGq/Eewp40lkCCUrrwheyp05BtprLU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=V5eS6CHQ5pqCEgS/aEh9k5CtLdje7y3gqfVN7wp6WHTZXmMx/0gLEBYg/EYurnebyuhCohbRPNyOoP3XB8rEmlWVSLFNO9Lzv4vFRTG70AsYPiI5edeqmBvPkRvpSrvjxDgYgV3J3rPJyQ4KmcVrYlJDxbiuCYZYMpLbql7hYiI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=MQoIeY4X; arc=none smtp.client-ip=91.218.175.186 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="MQoIeY4X" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1776689994; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mOUWkybK3eiKfeEN3c1AmWJrSYfchS2TwUw3TqjAFDY=; b=MQoIeY4X5Tdero87dcxHKdE+OYa7VsCpsSJjLcOM1TCiKHbDh2FyVtVy84CraYpnnMGluW ZfgNtlHxHkCKuP9jHjbWOg4ofUkXfWnsh0dP28SEBEzGOYxol1VVySbGKw1K914r6bLOAU OF1M4yVsHuKD6orXWNTNGxPdZWj6LnE= From: Usama Arif To: Nico Pache Cc: Usama Arif , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-trace-kernel@vger.kernel.org, akpm@linux-foundation.org, 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, jack@suse.cz, jackmanb@google.com, jannh@google.com, jglisse@google.com, joshua.hahnjy@gmail.com, kas@kernel.org, lance.yang@linux.dev, Liam.Howlett@oracle.com, ljs@kernel.org, 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 7.2 v16 01/13] mm/khugepaged: generalize hugepage_vma_revalidate for mTHP support Date: Mon, 20 Apr 2026 05:59:42 -0700 Message-ID: <20260420125943.3443828-1-usama.arif@linux.dev> In-Reply-To: <20260419185750.260784-2-npache@redhat.com> References: Precedence: bulk X-Mailing-List: linux-trace-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT On Sun, 19 Apr 2026 12:57:38 -0600 Nico Pache wrote: > For khugepaged to support different mTHP orders, we must generalize this > to check if the PMD is not shared by another VMA and that the order is > enabled. > > No functional change in this patch. Also correct a comment about the > functionality of the revalidation and fix a double space issues. > > Reviewed-by: Wei Yang > Reviewed-by: Lance Yang > Reviewed-by: Baolin Wang > Reviewed-by: Lorenzo Stoakes > Reviewed-by: Zi Yan > Acked-by: David Hildenbrand (Arm) > Co-developed-by: Dev Jain > Signed-off-by: Dev Jain > Signed-off-by: Nico Pache > --- > mm/khugepaged.c | 20 ++++++++++++-------- > 1 file changed, 12 insertions(+), 8 deletions(-) > Acked-by: Usama Arif