Re: tasklet_action() failure

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

 



On 10/23/07, Tony Mouawad <tonym.ace@xxxxxxxxx> wrote:
> How does the list in __get_cpu_var(tasklet_vec).list get populated?
> It looks like at the top of the tasklet_action() call the list is set
> to empty and at the bottom __get_cpu_var(tasklet_vec).list is assigned
> to the next element of a temporary list ( t->next ).  Is it possible
> for __get_cpu_var(tasklet_vec).list to get populated during a call to
> tasklet_action() or is what I am seeing just a NULL assignment to
> t->next ?
>
It is possible that a new tasklet is scheduled (from an interrupt, for
example) during the execution of tasklet_action().

The local_irq_disable/enable() functions are used to serialize
accesses to tasklet_vec.list.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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