xiaoxiang781216 commented on code in PR #8026: URL: https://github.com/apache/nuttx/pull/8026#discussion_r1061650947
########## mm/Kconfig: ########## @@ -257,4 +257,8 @@ config MM_PANIC_ON_FAILURE default n depends on DEBUG_MM +config MM_MAP Review Comment: if so, we need select this config for the driver which support mmap command. But if nobody calls mmap and munmap, the linker will remove all related code from final image. On the other hand, the driver which implement mmap function can't remove even nobody call mmap and munmap since it's very hard to let compiler/linker to remove the reference by pointer. -- 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: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org