xiaoxiang781216 commented on code in PR #16851: URL: https://github.com/apache/nuttx/pull/16851#discussion_r2277420028
########## arch/risc-v/src/mpfs/mpfs_usb.c: ########## @@ -3430,6 +3430,10 @@ static int mpfs_usb_interrupt(int irq, void *context, void *arg) uint16_t pending_tx_ep; int i; +#ifdef CONFIG_SMP + irqstate_t flags = enter_critical_section(); Review Comment: why not continue use spinlock -- 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