From mboxrd@z Thu Jan 1 00:00:00 1970 From: tglx@linutronix.de (Thomas Gleixner) Date: Wed, 12 Jun 2013 09:45:13 +0200 (CEST) Subject: [RFC PATCH 0/4] USB: HCD/EHCI: giveback of URB in tasklet context In-Reply-To: References: Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, 12 Jun 2013, Ming Lei wrote: > On Wed, Jun 12, 2013 at 3:10 AM, Alan Stern wrote: > >> Also the tasklet running in CPU0 can handle the work which should > >> have been done by the same tasket scheduled in CPU1, so we can > >> avoid busy-waitting in CPU1 which may be introduced by tasklet_schedule() > >> in CPU1. > > > > Or you could have a separate tasklet for each host controller. > > Yes, but I will compare tasklet with interrupt threaded handler first. Yes, please. I read through the thread and I really recommend that you get rid of the tasklet. tasklets are a complete disaster by design and we really should make efforts to get rid of the last users instead of trying to work around their semantical shortcomings. Thanks, tglx