[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <455B53DD.1030305@goop.org>
Date: Wed, 15 Nov 2006 09:52:29 -0800
From: Jeremy Fitzhardinge <jeremy@...p.org>
To: Eric Dumazet <dada1@...mosbay.com>
CC: akpm@...l.org, Arjan van de Ven <arjan@...radead.org>, ak@...e.de,
mingo@...e.hu, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] i386-pda UP optimization
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists