Re: [PATCH] i386-pda UP optimization

From: Jeremy Fitzhardinge
Date: Wed Nov 15 2006 - 12:52:48 EST


Eric Dumazet wrote:
> I wish Jeremy give us patches for UP machines so that %gs can be let untouched
> in entry.S (syscall entry/exit). A lot of ia32 machines are still using one
> CPU.
>
Unfortunately that would add cruft in a number of places. At the
moment, context switch, ptrace and vm86 all assume entry.S has saved %gs
into pt_regs, so they can treat it like any other register. If this
were conditional, it would require multiple places to add #ifndef
CONFIG_SMP code, which is not something I'd like to do without a good
reason.

J
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/