From: srimugunthan.dhandapani@gmail.com (srimugunthan dhandapani)
To: kernelnewbies@lists.kernelnewbies.org
Subject: softirq argument
Date: Fri, 17 Feb 2012 00:58:30 +0530 [thread overview]
Message-ID: <CAMjNe_eWAw0PN8rdmPejA8iHv9v2g3HAzDt_SWoBNqfVUsYaZg@mail.gmail.com> (raw)
Hi all
As an experiment, i am trying to use softirq instead of using tasklet
in my driver code.
I was passing the driver's structure pointer to the tasklet.
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?
I just need to do this for taking measurements.
Thanks,
mugunthan
reply other threads:[~2012-02-16 19:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAMjNe_eWAw0PN8rdmPejA8iHv9v2g3HAzDt_SWoBNqfVUsYaZg@mail.gmail.com \
--to=srimugunthan.dhandapani@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).