> > The point is why store kernel pointers in global registers when You can
> > achieve the same functionality, with a smaller patch, that does not need
> > to be recoded for each CPU, without using global registers.
>
> Because it is much much much faster
We'll see how much faster is the global register allocation against code
like :
movl %esp, %eax
andl $-8192, %eax
movl (%eax), %eax
Because you can justify a global register allocation only if this "much
much faster" translates to a number that has sense.
- Davide
-
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/