Messages in this thread | | | Subject | Re: [PATCH] local_irq_disable removal | From | Sven-Thorsten Dietrich <> | Date | Sat, 11 Jun 2005 13:02:59 -0700 |
| |
> > > Well, isn't enough to see that the code contains more instructions and > looks somewhat more complicated? >
And - another thing:
Not all instructions take the same amount of time to execute.
Think about the cli operation. This can take real time on highly pipelined processors, when compared to a simple increment by one operation.
So the more complex-looking code, might make things faster.
I'm going to say it one last time.
Do the analysis scientifically, and use numbers to get your answers.
This stuff is profound.
Think it through, and when you find a real problem, then we can take a look together, and see if it requires a bug fix.
And consider this -
There are robots walking around today, that use this concept in Linux 2.4, and they can help you carry a 20 foot long plank across rugged terrain. In addition, they will stand it up against a wall for you...
So be careful when you say it can't be done in 2.6.
Sven
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |