Re: [PATCH] local_irq_disable removal

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

 



> > 
> 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 [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