On Friday 22 June 2007, Steven Rostedt wrote:
> This patch creates an alternative for drivers from using tasklets.
> It creates a "work_tasklet". When configured to use work_tasklets
> instead of tasklets, instead of creating tasklets, a work queue
> is made in its place. The API is still the same
On Fri, 2007-06-22 at 19:52 +0400, Oleg Nesterov wrote:
> On 06/22, Steven Rostedt wrote:
> >
> > > truct tasklet_struct, work);
> > > > +
> > > > + if (unlikely(atomic_read(&t->count))) {
> > > > + pr_debug("tasklet disabled %s %p\n", t->n, t);
> > > > + set_bit(T
On 06/22, Steven Rostedt wrote:
>
> > truct tasklet_struct, work);
> > > +
> > > + if (unlikely(atomic_read(&t->count))) {
> > > + pr_debug("tasklet disabled %s %p\n", t->n, t);
> > > + set_bit(TASKLET_STATE_PENDING, &t->state);
> > > + smp_mb();
> > > + /* make sure
On Fri, 2007-06-22 at 00:06 -0700, Daniel Walker wrote:
> > +void tasklet_schedule(struct tasklet_struct *t)
> > +{
> > + BUG_ON(!ktaskletd_wq);
> > + pr_debug("scheduling tasklet %s %p\n", t->n, t);
>
> I'd change these pr_debug lines to "tasklet : scheduling %s %p\n" for
> readability ..
A
On Fri, 2007-06-22 at 00:00 -0400, Steven Rostedt wrote:
> plain text document attachment (tasklets-to-workqueues.patch)
> This patch creates an alternative for drivers from using tasklets.
> It creates a "work_tasklet". When configured to use work_tasklets
> instead of tasklets, instead of creatin
This patch creates an alternative for drivers from using tasklets.
It creates a "work_tasklet". When configured to use work_tasklets
instead of tasklets, instead of creating tasklets, a work queue
is made in its place. The API is still the same, and the drivers
don't know that a work queue is bein
6 matches
Mail list logo