A question about the state of tasklet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All !

As we know, every CPU has a tasklet list, all these heads are stored
in tasklet_vec[NRCPUS]. A tasklet may have one of the two
states:TASKLET_STATE_SCHED and TASKLET_STATE_RUN.

TASKLET_STATE_SCHED makes that a tasklet can only be linked on
one of these lists.

 TASKLET_STATE_RUN makes that tasklet_action() do nothing when
the tasklet is running on the other CPU.

My question is when does this happen: a running tasklet is scheduled on
the other CPU ?

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux