Hi Deepak, On Mon, Jun 7, 2010 at 6:27 PM, Deepak Chitriki <deepak.chitriki@xxxxxx> wrote: >> Ohad Ben-Cohen wrote: >> Somewhat relevant note about mailbox performance: omap_mbox_msg_send >> often (i.e. when the kfifo is empty) can just send the message >> directly, without triggering the tasklet to do that. Applying such a >> change will substantially improve the mailbox performance, and will >> make the shift to workqueues even more reasonable. I've got a patch >> for that, I'll post it soon. >> > > tasklet is run in atomic context,so I wonder how mailbox performance will > increase if you switch from tasklet to workqueue? In general moving from tasklet to workqueues will probably increase some scheduling latencies. Nevertheless, if we'll send mailbox messages directly whenever possible, without triggering any deferred context, we'll be improving mailbox performance on average, because most of the time we will get rid of the scheduling latencies entirely. Thanks, Ohad. -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html