You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2021/04/13 13:50:58 UTC

[GitHub] [mynewt-core] vrahane commented on pull request #2564: nrf5340/nrf52xxx: Add support for enabling instruction/data cache in hal_system_init() and add dependencies for BUS DRIVER

vrahane commented on pull request #2564:
URL: https://github.com/apache/mynewt-core/pull/2564#issuecomment-818752236


   We can enable cache always but the problem with that is that sometimes the performance actually degrades instead of becoming better. It should be left to the developer to decide if he/she wants to enable it or not. Another thing is, if someone wants to monitor the performance of the cache, example: hit/miss counts, they would enable the cache and look at those registers, so, keeping it conditional is better.


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org