From mboxrd@z Thu Jan 1 00:00:00 1970 From: vikram186@gmail.com (Vikram Narayanan) Date: Sat, 18 Feb 2012 23:34:09 +0530 Subject: linux hrtimer affinity In-Reply-To: References: Message-ID: <4F3FE819.3030709@gmail.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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