Hi Abhinav,
On 09/02/2018 11:28 PM, Abhinav Misra wrote:
Hi Larry,
Based on your answers below are my further queries.
1. *Does softirq and tasklet will always runs in ksoftirqd thread context ?*
As it is mentioned in the LKD (by robert love Pg-138) that there are
multiple places where pendin
On Sun, Sep 02, 2018 at 01:39:07PM -0400, valdis.kletni...@vt.edu wrote:
> On Sun, 02 Sep 2018 20:58:14 +0530, Abhinav Misra said:
>
> > But if in new kernel this implementation is changed then why we need so
> > many options to defer the work as all of them are basically getting
> > executed in a
On Sun, 02 Sep 2018 20:58:14 +0530, Abhinav Misra said:
> But if in new kernel this implementation is changed then why we need so
> many options to defer the work as all of them are basically getting
> executed in almost the same way.* In that case code running softirq,
> tasklet, workqueue and ke
Hi Larry,
Based on your answers below are my further queries.
1. *Does softirq and tasklet will always runs in ksoftirqd thread context ?*
As it is mentioned in the LKD (by robert love Pg-138) that there are
multiple places where pending softirq's
are checked. Out of that one is in return from ha
Hello Abhinav,
On 09/01/2018 04:05 PM, Abhinav Misra wrote:
Hi,
Sorry for the delay in the reply.
I think the question is not correctly framed. Will try to do it again.
1. Which stack does the tasklet, softriq and workqueue use for their
execution ?
Softirq actually is a group of N kernel
Hi,
Sorry for the delay in the reply.
I think the question is not correctly framed. Will try to do it again.
1. Which stack does the tasklet, softriq and workqueue use for their
execution ?
2. Why can't we sleep in tasklet and softriq ?
BR,Abhinav
___
> 1. Which stack does the bottom halves use for their execution ?
Modern "bottom-half" implementations built on top of kernel threads
use the stack of the underlying thread.
(just like how any thread on the system does)
> 2. Why can't we sleep in bottom halves ?
We can!
Modern bottom half implemen
Hi,
I have few queries regarding bottom halves-
1. Interrupts use their own per cpu stack for their execution.Which stack
does the bottom halves use for their execution ?
2. Why can't we sleep in bottom halves ?
BR,Abhinav
___
Kernelnewbies mailing li