LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Synch question 2.6.x
@ 2006-06-20  3:10 Srinivas Murthy
  0 siblings, 0 replies; only message in thread
From: Srinivas Murthy @ 2006-06-20  3:10 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 684 bytes --]

Hi,
 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.

 I share some global data in the kernel space that is accessed by the kernel
thread and a work queue (or a tasklet) (kicked off of an isr top-half and
also off of a kernel thread).

 Is there a need to synch access to this data if the preemption is off. What
if the premption is turned on?

 In the case of workq's, if the synch is reqd, are down_xx() up_xx(),
primitives the right ones to use?

Thanks much in advance.

_Srinivas

[-- Attachment #2: Type: text/html, Size: 932 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-06-20  3:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-20  3:10 Synch question 2.6.x Srinivas Murthy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox