pussuw opened a new pull request, #8169: URL: https://github.com/apache/nuttx/pull/8169
## Summary This removes some incorrect usage of up_addrenv_select/up_addrenv_restore. When an address environment is destroyed, there is no need to map the address environment to MMU. Everything that is freed is either from kernel memory or page pool. Also, remove the unnecessary detaching of L2 table from L1 table in ARM / arm_addrenv_destroy_region. The region is being destroyed thus the mapping will also be naturally lost. This is preparation for a much bigger re-factoring of the address environments, especially usage up_addrenv_select/up_addrenv_restore which is prone to system crashes if a context switch or IRQ happens in between. More about this story can be found from here: https://github.com/apache/nuttx/pull/7966 ## Impact Removes redundant code ## Testing icicle:knsh and sabre-6quad:netknsh with qemu -- 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]
