<div>Hi,</div>
<div>&nbsp;I have this 2.6.x kernel mode component for which I have question regarding the synch reqmt. between workqueues (or tasklets) and kernel threads. The kernel threads are created from within the kernel module and there is no user-mode side to them.
</div>
<div>&nbsp;</div>
<div>&nbsp;I share some global data in the kernel space that is accessed by the kernel thread and a work queue (or a tasklet)&nbsp;(kicked off of an isr top-half and also off of a kernel thread).</div>
<div>&nbsp;</div>
<div>&nbsp;Is there a need to synch access to this data if the preemption is off. What if the premption is turned on?</div>
<div>&nbsp;</div>
<div>&nbsp;In the case of workq's, if the synch is reqd,&nbsp;are down_xx() up_xx(), primitives the right ones to use? </div>
<div>&nbsp;</div>
<div>Thanks much in advance.</div>
<div>&nbsp;</div>
<div>_Srinivas</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>