Re: kernel: ldt allocation failed

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Wed Feb 06 2002 - 09:39:48 EST


> Are you sure it does? LGDT with non zero argument shouldn't be that costly.
> The %fs switching adds some locked cycles for reloading the segment cache,
> but because Windows uses that I would it expect to be reasonably optimized
> on CPUs.

Its measurable, even on an Athlon.

> I actually tried to complain because on x86-64 it is more costly, but to
> no avail.

The more I see from glibc the more I realise that Linus is right - it needs
replacing

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



This archive was generated by hypermail 2b29 : Thu Feb 07 2002 - 21:00:49 EST