Re: [PATCH] task_struct colouring ...

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 30 Nov 2001 23:57:13 +0000 (GMT)


> So You like the idea of stocking structure pointers inside CPU registers
> or I missed Your point ?
> The proposed implementation is "uniform" between architectures, that's my
> point.

An uniform implementation for a totally non uniform set of processors. Not
actually useful. The x86 is one of the few cpus so short of registers that
current in a global register is not a win performancewise.

The cache behaviour also heavily depends on the processor. In paticular the
problem with having to align stacks to do current tricks is absent on non
x86 processors so they can use properly coloured stacks.

current is far too critical to generalise
-
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/