You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/07/15 19:24:52 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 edited a comment on pull request #4111: syslog/intbuf: force output log when syslog interrupt buffer is full

xiaoxiang781216 edited a comment on pull request #4111:
URL: https://github.com/apache/incubator-nuttx/pull/4111#issuecomment-880952711


   > IF there is a call to syslog... If not, IRQs continue to write to intbuffer, until overflow. There is no guarantee on if and when the buffer will be flushed. At least from the IRQ's perspective.
   
   Oh, I forget this case. one solution(again) is work queue if it exist.
   
   > 
   > Thank you for this idea, I will take a look on this.
   
   This patch is important to recovery the log after reboot:
   https://github.com/apache/incubator-nuttx/pull/3808
   Please remeber to put the ram buffer out side .bss section, otherwise the initializition code will zero it before we have a chance to restore the last log.
   


-- 
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-unsubscribe@nuttx.apache.org

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