Received: from out0-197.mail.aliyun.com (out0-197.mail.aliyun.com [140.205.0.197]) (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 392DA199920 for ; Sun, 22 Jun 2025 14:55:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=140.205.0.197 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750604137; cv=none; b=tfUN/HUDIQ16qbSG0qAkQKIonl2NxS8M1OLb3MF1pUisx00Bg0zR8FhQMulHv0eIRdOZVSzq0GPOwlgOk9rxe4+U2aIe+kg/u2vJjNBLNpKXrti7JZ+TOOJUWSNrW1kxNeD0ZB+122Rr/WToINMVKKHKm1r61XRtGUK3fdY5Vtg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750604137; c=relaxed/simple; bh=0LjntTVcoSokkIVfo24mtnsrg3et4J4Cr681gOvrLv4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=s3bjMu3QoBYM99cKomp8bBlPdclTsAfdJhs0ql/BTXP0srMORZL8sLEyeDtYTYQj/F/Sk9SBuLpl9E3wLkb4UnUzRIoqhY/vsn7WSs791/Zrn5wVSSNwuBClaSbh4U1o2dAIrOOe6dLjiLrY0Izr9H1lNpNjag8pG4C/z/FpL7o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=antgroup.com; spf=pass smtp.mailfrom=antgroup.com; dkim=pass (1024-bit key) header.d=antgroup.com header.i=@antgroup.com header.b=sLHBGJON; arc=none smtp.client-ip=140.205.0.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=antgroup.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=antgroup.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=antgroup.com header.i=@antgroup.com header.b="sLHBGJON" DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=antgroup.com; s=default; t=1750604130; h=From:To:Subject:Date:Message-ID:MIME-Version; bh=2bSH+4+OQWZ47euNPmWxb1a/vXaaAs4QG/lmHRpqr0w=; b=sLHBGJONo4MQtt1XF4F6dWo3QWpGfTTpoY8Xbons+GVg3X3og2UIZbGNsMghPMucvnZneoKxDnzw2MvmFho/ULUc3g5E67ZXxQRRATgQn8akIkzMGO5bgHzgLokMpkdCMTz3CPqHtQK5L2LfjCZWLK9a4IT76FWJ1YgBFLrgZng= Received: from localhost(mailfrom:henry.hj@antgroup.com fp:SMTPD_---.dSuNJhd_1750604129 cluster:ay29) by smtp.aliyun-inc.com; Sun, 22 Jun 2025 22:55:29 +0800 From: "Henry Huang" To: arighi@nvidia.com Cc: , "Henry Huang" , "=?UTF-8?B?6LCI6Ym06ZSL?=" , , , , , "=?UTF-8?B?WWFuIFlhbihjYWlsaW5nKQ==?=" Subject: Re: [PATCH v1] sched_ext: include SCX_OPS_TRACK_MIGRATION Date: Sun, 22 Jun 2025 22:55:26 +0800 Message-ID: <20250622145526.21909-1-henry.hj@antgroup.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: sched-ext@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit On Sun, 22 Jun 2025 14:41:25 +0200, Andrea Righi wrote: > The overall change makes sense to me. I'm wondering if we should set > DEQUEUE_MIGRATING here when task_on_rq_migrating(p) == true (apparently the > sched core doesn't set this flag). > > In this way we can use ENQUEUE_MIGRATING and DEQUEUE_MIGRATING to > distinguish between a migration ops.runnable/quiescent() call vs a > "regular" one. Thanks, I'll implement this in patch v2. -- Henry