xiaoxiang781216 commented on code in PR #16344:
URL: https://github.com/apache/nuttx/pull/16344#discussion_r2082823093


##########
arch/arm/src/armv7-a/arm_addrenv_utils.c:
##########
@@ -97,7 +97,14 @@ int arm_addrenv_create_region(uintptr_t **list, unsigned int 
listlen,
   nmapped = 0;
   for (i = 0; i < nlist; i++)
     {
-      /* Allocate one physical page for the L2 page table */
+      /* Allocate one physical page for the L2 page table
+       * Makesure physical page is contiguous, alloc all l2 table first.
+       *
+       * REVISIT: Drivers should not expect the physical page is contiguous

Review Comment:
   let's review other arch which support MMU and use the same algo, if not 
please create a new patch to correct them.



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