Skip to contentSkip to conversation

linux hrtimer affinity

DISCUSSION Vikram Narayanan 1 participant 1 message Feb 18, 2012 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Hello,

Quoted 3 lines · srimugunthan dhandapani

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?

Quoted 1 line

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

Tasklet or softirq?

Quoted 4 lines

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?

Quoted 1 line

I just need to do this for taking measurements.

Timestamps?

HTH,
Vikram