pussuw opened a new pull request, #16165:
URL: https://github.com/apache/nuttx/pull/16165

   ## Summary
   
   Saves 1 byte per spinlock, if spinlocks are not used.
   
   ## Impact
   
   Reduce RAM usage by 1 byte per defined spinlock, if CONFIG_SPINLOCK=n.
   
   ## Testing
   
   rv-virt:nsh64 + ostest
   CI pass
   
   ## Comparison
   BEFORE:
   $ riscv64-unknown-elf-size nuttx
      text         data     bss     dec     hex filename
    199100         1513   14960  215573   34a15 nuttx
   
   AFTER:
   $ riscv64-unknown-elf-size nuttx
      text         data     bss     dec     hex filename
    199072         1505   14960  215537   349f1 nuttx
   
   
   
   


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

Reply via email to