linux hrtimer affinity

Vikram Narayanan vikram186 at gmail.com
Sat Feb 18 13:04:09 EST 2012


Hello,

On 17-Feb-12 00:58:30, srimugunthan dhandapani wrote:
> Hi all
> As an experiment, i am trying to use softirq instead of using tasklet
> in my driver code.

Softirqs are meant for very critical processing. Why don't you reconsider?

> I was passing the driver's structure pointer to the tasklet.

Tasklet or softirq?

> The "open_softirq" takes only the function pointer as argument.
> Since we can't pass any argument to the softirq, is there any
> workaround that is possible to make the structure pointer accessible
> to softirq?

Anyways, you would've defined the softirq handler in your driver. right?

> I just need to do this for taking measurements.
Timestamps?

HTH,
Vikram



More information about the Kernelnewbies mailing list