[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090108164514.GA18409@uranus.ravnborg.org>
Date: Thu, 8 Jan 2009 17:45:14 +0100
From: Sam Ravnborg <sam@...nborg.org>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Jiri Kosina <jkosina@...e.cz>, Adam Osuchowski <adwol@...k.pl>,
linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...e.hu>,
Nick Piggin <npiggin@...e.de>,
Alan Cox <alan@...rguk.ukuu.org.uk>
Subject: Re: Is 386 processor still supported?
On Thu, Jan 08, 2009 at 03:27:13PM +0100, Peter Zijlstra wrote:
> On Thu, 2009-01-08 at 15:21 +0100, Jiri Kosina wrote:
> > On Thu, 8 Jan 2009, Peter Zijlstra wrote:
> >
> > > > Subject: x86: make spinlocks available on machines without xadd insn
> > > > Current kernel wouldn't compile on ancient x86 machines that don't support
> > > > xadd instruction, as ticket spinlocks implementation unconditionally uses
> > > > it.
> > > > On machines without CONFIG_X86_XADD, use old-style byte spinlock
> > > > implementation instead.
> > > afaik we don't support i386-smp and up spinlocks are trivial
> > > preempt_disable() calls.
> >
> > Hmm. Where in Kconfig is SMP for M386 not allowed?
>
> Dunno, kconfig is too much of a jungle for a simple person like me ;-)
Kconfig for x86 does nothing to prevent us from selecting SMP
when we have selected the 386 processor variant.
But then you need to enable the CONFIG_EXPERT(*) option to
select CPU type - which imply you know what you are doing.
(*) Named CONFIG_EMBEDDED for some reason.
Sam
--
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