Date: Fri, 09 Aug 2002 10:28:10 -0700 From: Terry Lambert <tlambert2@mindspring.com> To: Peter Wemm <peter@wemm.org> Cc: hiten@uk.FreeBSD.org, Luigi Rizzo <rizzo@icir.org>, Julian Elischer <julian@elischer.org>, smp@freebsd.org Subject: Re: how to create per-cpu variables in SMP kernels ? Message-ID: <3D53FBAA.6BBEF4DA@mindspring.com> References: <20020809155402.C0F082A7D6@canning.wemm.org>
index | next in thread | previous in thread | raw e-mail
Peter Wemm wrote: > > > Now imagine: extern __thread struct proc *curproc; > > > > For example, if this was used, it would not let us compile stuff on Intel's > > compiler, or others. Not a major issue in my books, but maybe for others it > > is. > > And you think the current gcc-specific code compiles well on other compilers? I thought everyone had linker sets, inline assembly with GNU syntax, __attribute(packed), and functions that let you use a stack variable as an array index... 8-) 8-). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the messagehome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D53FBAA.6BBEF4DA>
