nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [incubator-nuttx] patacongo edited a comment on pull request #4193: fs: Change off_t and related types to int64_t if long long is supported
Date Wed, 21 Jul 2021 16:46:50 GMT

patacongo edited a comment on pull request #4193:

   Another thing that we will have to be careful with is in reading and writing 64-bit values.
 On a 32-bit ARMv7-M CPU, 64-bit access are not atomic.  The CPU can be interrupted or the
task can be suspended between each 32-bit access and this may result in a corrupted access.
   Every 64-bit access must be protected so that it completes without modification at the
interrupt level or by other tasks.  sched_lock() is probably sufficient in most non-SMP cases.
 Inside of file system logic, re-entrancy protections may also be sufficient (?)

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:

For queries about this service, please contact Infrastructure at:

View raw message