Samuel Thibault, le mer. 05 août 2020 02:24:20 +0200, a ecrit: > > user_intr_t * > > insert_intr_entry (struct irqdev *dev, int id, ipc_port_t dst_port) > > { > [...] > > + /* we do not need to disable irq here, because the irq handler does not > > touch the queue now. */ > ??? How so?
Ah, you mean with the modifications, interrupts handler don't modify the structure of the queue. Don't put "now" in comments to refer to git history: the reader will be thinking "now" means during execution. Samuel