santhosh-c-c commented on code in PR #22047:
URL: https://github.com/apache/nuttx/pull/22047#discussion_r4639242251


##########
sched/sched/sched_setaffinity.c:
##########
@@ -82,7 +82,13 @@ int nxsched_set_affinity(pid_t pid, size_t cpusetsize,
 
   /* Make sure that affinity mask is valid */
 
-  if (*mask == 0)
+#ifdef CONFIG_BMP

Review Comment:
   The BMP name follows QNX, which uses it for a single kernel instance with 
tasks bound by affinity [1]. One instance per core, as in #12020/#12032, is AMP 
in the same QNX terms, so I would prefer to keep BMP for this one.
   
   [1] 
https://www.qnx.com/developers/docs/7.1/#com.qnx.doc.neutrino.sys_arch/topic/smp_BMP.html



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to