hujun260 commented on PR #18185: URL: https://github.com/apache/nuttx/pull/18185#issuecomment-3817522681
> > test log provided > > Please provide the test log for both the architectures you tested on, and include the full test output. > > Also, your change says: > > > ``` > > Enables CONFIG_MM_TASK_HEAP mode for per-task heap isolation > > Implements mpu_update() function to dynamically configure heap MPU regions > > Creates isolated heap regions with user read/write permissions > > Surrounds heap with kernel-only background regions for access control > > ``` > > Since your change includes new logic, it will not be adequately tested by OS test. Can you please provide some information about the test cases you used to verify that the new features work correctly, and include log output from them? The key point of this feature is that, in protection mode, the stacks and heaps of different threads can be isolated. You can refer to the code below; one thread cannot access the stack of another thread. <img width="802" height="542" alt="image" src="https://github.com/user-attachments/assets/58280c1c-f7f9-484e-a136-9dea507e40d0" /> <img width="1500" height="685" alt="image" src="https://github.com/user-attachments/assets/9f09c237-3eeb-4539-9912-66ef23d9a1a6" /> -- 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]
