pkarashchenko commented on a change in pull request #5441:
URL: https://github.com/apache/incubator-nuttx/pull/5441#discussion_r802354450
##########
File path: arch/arm/src/armv7-a/arm_cache.c
##########
@@ -190,7 +198,15 @@ void up_clean_dcache_all(void)
void up_flush_dcache(uintptr_t start, uintptr_t end)
{
- cp15_flush_dcache(start, end);
+ if (cp15_cache_size() < (end - start))
Review comment:
I have a question about how optimal is current implementation if memory
from `start` till `end` is not currently in cache? Or some part is in cache and
other part is not?
--
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]