cederom commented on PR #4111:
URL: https://github.com/apache/nuttx-apps/pull/4111#issuecomment-7115784268

   Thanks for the update. I compared it with the previous version 
(e3077e8..40066f8):
   
   - **Failure mode (comment 3):** done. The comment above the test now says 
that a deadlock hangs ostest and no ASSERT reports it.
   - **Guards (nit 4):** done. `CSECTION_LOOPS`, `CSECTION_THREADS` and `struct 
csection_s` are now under `CONFIG_BUILD_FLAT`, next to the code that uses them.
   - **CPU placement (comment 2):** the code comment now says "Half of the 
threads ... the other half", which matches what the test does. But the commit 
message still says "two threads per CPU", and the threads are still created 
without affinity. Please change the commit message to match, e.g. "2 * 
CONFIG_SMP_NCPUS threads, half of them in the critical section". Pinning the 
threads is still optional.
   - **Merge order (comment 1):** this one is about the PR, not the code. On 
master without apache/nuttx#22164, this test makes SMP ostest hang. Please 
cross-link the two PRs and merge this one only together with or after the 
kernel fix, otherwise the SMP CI jobs here will time out.
   
   The code changes look good. LGTM once the commit message is fixed and the 
kernel PR is merged first.


-- 
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