From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailgw1.hygon.cn (unknown [101.204.27.37]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5D30A47045F for ; Thu, 23 Jul 2026 11:31:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=101.204.27.37 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784806285; cv=none; b=UFdT+m5woJdElVUtXvEUduSFzvvZH+qR6QBa7VDHT8+YSjriziWiaU/6dVVuozjP7s9EN57ygMVmzUDuYQkRP1ckz8sXvepxp3fVqBmX0boiAbxisLb/gNGSSCTINtu/REY2D8XUPuB83zU6Nf7jHwKpbJccvFKIRm8cgkh5mIk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784806285; c=relaxed/simple; bh=JrrJ+tWcCuIBvybRG3LZvv14E7vFkrC+j25P649WclA=; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=CvxKvgTsTX+mo+rONWDXqLeZb/RMmHkQ1ugGamdxeXrny493O/pv7iRdZ9t3mRNhlTw2t5hiBHILqMT7lEblmOkTTdfuR3OFUbURRkPAQWQlAU4i3wPG8MOQqrs+dvpcLee/ujYnfOKcJKEedB23yHaLp34PRtWAJsZ8Lig7YcE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=hygon.cn; spf=pass smtp.mailfrom=hygon.cn; arc=none smtp.client-ip=101.204.27.37 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=hygon.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=hygon.cn Received: from maildlp2.hygon.cn (unknown [127.0.0.1]) by mailgw1.hygon.cn (Postfix) with ESMTP id 4h5TTM4H0QzVbqd; Thu, 23 Jul 2026 19:31:03 +0800 (CST) Received: from maildlp2.hygon.cn (unknown [172.23.18.61]) by mailgw1.hygon.cn (Postfix) with ESMTP id 4h5TTK1t1DzVbqW; Thu, 23 Jul 2026 19:31:01 +0800 (CST) Received: from cncheex04.Hygon.cn (unknown [172.23.18.114]) by maildlp2.hygon.cn (Postfix) with ESMTPS id BF5FB303F0F8; Thu, 23 Jul 2026 19:28:20 +0800 (CST) Received: from hsj-2U-Workstation (172.19.24.226) by cncheex04.Hygon.cn (172.23.18.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.36; Thu, 23 Jul 2026 19:30:59 +0800 Date: Thu, 23 Jul 2026 19:30:56 +0800 From: Huang Shijie To: , , , CC: , , , , , , , , , Subject: Re: [PATCH] sched/fair: remove the wrong check is_vm_hugetlb_page Message-ID: References: <20260723073449.1945687-1-huangsj@hygon.cn> 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-Disposition: inline In-Reply-To: <20260723073449.1945687-1-huangsj@hygon.cn> X-ClientProxiedBy: cncheex05.Hygon.cn (172.23.18.115) To cncheex04.Hygon.cn (172.23.18.114) On Thu, Jul 23, 2026 at 03:34:49PM +0800, Huang Shijie wrote: > +++ b/kernel/sched/fair.c > @@ -4167,7 +4167,7 @@ static void task_numa_work(struct callback_head *work) > > for (; vma; vma = vma_next(&vmi)) { > if (!vma_migratable(vma) || !vma_policy_mof(vma) || > - is_vm_hugetlb_page(vma) || (vma->vm_flags & VM_MIXEDMAP)) { > + (vma->vm_flags & VM_MIXEDMAP)) { > trace_sched_skip_vma_numa(mm, vma, NUMAB_SKIP_UNSUITABLE); > continue; > } > -- > 2.53.0 > Please ignore this patch. The code disables the hugetlb migration on purpose. Thanks Huang Shijie