Re: [RFC PATCH 1/8] Convert the RCU tasklet into a softirq

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

 



On Mon, 16 Jul 2007, Linus Torvalds wrote:

>
> Btw, are there any numbers on this? Is this whole thing actually
> noticeable?

Besides the obvious removal of code?

The old way actually made an effort to create per_cpu tasklets!  So that
the tasklets *can* run simultaneously, making it in essense a softirq.
Since tasklets are implemented by the softirq, with a lot of code to make
a tasklet function run only on one CPU at a time, and it can run on any
CPU.  By converting the rcu tasklet (which had work to make it act like a
softirq) to just be a softirq, we removed all the extra overhead of a
tasklet.

But to answer your question.  No, I didn't take any actual measurements.
The changes just seemed obvious to me (and others).

-- Steve

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux