loadsegment and preparation has to be done anyways for compatibility
(we tried to do that lazy too, but failed)
The 64bit base switch is additional cost.
>
> > but is it that big a problem to split the
> > index table for thread local data and the stack?
>
> Yes, it it. It would basically double thread create-destroy costs.
> double the internal administrative overhead (and time and memory), would
> add more dcache pressure, and so on. It is simply stupid. We don't
> have to do it for any other architecture, so don't force such hacks on
> us for an architecture whose lifespan just starts.
I would definitely prefer double thread-create/delete costs over even
slightly higher context switch costs. Compared to a context switch a
thread creation or deletion is a once-in-a-millenium event.
-Andi
-
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/