Re: [PATCH] Tasklets: Avoid duplicating __tasklet_{,hi_}schedule() code

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ahmed S. Darwish
Date: Wednesday, February 20, 2008 - 6:37 am

On Wed, Feb 20, 2008 at 11:41:13AM +0100, Ingo Molnar wrote:

While we are at it, there's a small question that is bothering me
for a while (and I'm really thankful for help). 

I keep reading that softirqs (and naturally, tasklets) got executed 
in interrupt context at the return from hardirq code path.

Checking entry_32.S, I find no mentioning of softirqs on the return
path (beginning from ret_from_intr: to restore_all: )

The only invocation I'm able to find is from local_bh_enable() and
from ksoftirqd/n threads (by calling do_softirq()). AFAIK, both 
invocations occur in a _nont-interrupt_ context (exception context).

So, where does the interrupt-context tasklets invocation really 
occur ?

Thanks

-- 
Ahmed S. Darwish
Homepage: http://darwish.07.googlepages.com
Blog: http://darwish-07.blogspot.com

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] Tasklets: Avoid duplicating __tasklet_{,hi_}sc ..., Ahmed S. Darwish, (Wed Feb 20, 6:37 am)
Re: [PATCH] Tasklets: Avoid duplicating __tasklet_{,hi_}sc ..., Ahmed S. Darwish, (Wed Feb 20, 12:39 pm)