Re: Exclusive control



bz800k@xxxxxxxxxxx writes:
I'm making a driver.
A tasklet is called from interrupt handler.
The driver supports read/write system call.

A tasklet and the read/write routines access the same resources.

In this case will exclusive control ,between tasklet and read/write,
be necessary?

See

<URL:http://people.netfilter.org/~rusty/unreliable-guides/kernel-locking/kernel-locking.docbook/lock-user-bh.html>

and

<URL:http://people.netfilter.org/~rusty/unreliable-guides/kernel-locking/kernel-locking.docbook/lock-user-tasklet.html>

.



Relevant Pages

  • Exclusive control
    ... The driver supports read/write system call. ... A tasklet and the read/write routines access the same resources. ...
    (comp.os.linux.development.system)
  • Re: tasklet_kill will always hang for recursive tasklets on a UP
    ... How can we say that its not a bug. ... > still such resources that need freeing. ... a tasklet is a self-contained ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: Key violations???????
    ... I was originally using straight ADO database commands to read/write the ... resources on my PC. ...
    (microsoft.public.access.queries)