<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi,<br><br>I'm not a driver developer and don't familiar with the usage of async function all.<br></div>But from git log, I can get <br><div></div><div id="divNeteaseMailCard"></div><br><pre>At 2014-07-06 00:55:32, "vichy" &lt;vichy.kuo@gmail.com&gt; wrote:
&gt;hi all:
&gt;I have some questions about:
&gt;1. what is the difference between
&gt;     async_schedule and async_schedule_domain<br></pre><div>'git show 766ccb9' should give out more detailed explanation. <br><br>&nbsp;&gt;
&gt;2. when the program is triggered when it is registered as
&gt;async_schedule and async_schedule_domain
&gt;    is it triggered at softirq stage?
<br>I think async functions are delt with by workqueue, instead of irq/softirq.<br><pre class="prettyprint lang-c"><a name="L193" href="http://lxr.oss.org.cn/source/kernel/async.c#L193"><span class="lit">193</span></a><span class="pln">         </span><b><i><span class="com">/* schedule for execution */</span></i></b><span class="pln">
</span><a name="L194" href="http://lxr.oss.org.cn/source/kernel/async.c#L194"><span class="lit">194</span></a><span class="pln">         </span><a href="http://lxr.oss.org.cn/ident?i=queue_work"><span class="typ">queue</span><span class="pln">_work</span></a><span class="pun">(</span><a href="http://lxr.oss.org.cn/ident?i=system_unbound_wq"><span class="pln">system_unbound_wq</span></a><span class="pun">,</span><span class="pln"> </span><span class="pun">&amp;</span><a href="http://lxr.oss.org.cn/ident?i=entry"><span class="pln">entry</span></a><span class="pun">-&gt;</span><a href="http://lxr.oss.org.cn/ident?i=work"><span class="pln">work</span></a><span class="pun">);</span><span class="pln">
</span><a name="L195" href="http://lxr.oss.org.cn/source/kernel/async.c#L195"><span class="lit">195</span></a><span class="pln"> </span></pre><br>&gt;
&gt;
&gt;thanks for your help in advance,
&gt;
&gt;_______________________________________________
&gt;Kernelnewbies mailing list
&gt;Kernelnewbies@kernelnewbies.org
&gt;http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
</div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>