From owner-svn-src-head@FreeBSD.ORG Thu Nov 1 14:01:17 2012 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 104E7A35; Thu, 1 Nov 2012 14:01:17 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id CADB88FC1F; Thu, 1 Nov 2012 14:01:16 +0000 (UTC) Received: from damnhippie.dyndns.org (daffy.symmetricom.us [206.168.13.218]) by duck.symmetricom.us (8.14.5/8.14.5) with ESMTP id qA1E1FQ5045485; Thu, 1 Nov 2012 08:01:15 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id qA1E1CpI007711; Thu, 1 Nov 2012 08:01:12 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) Subject: Re: svn commit: r242402 - in head/sys: kern vm From: Ian Lepore To: attilio@FreeBSD.org In-Reply-To: References: <201210311807.q9VI7IcX000993@svn.freebsd.org> <1351707964.1120.97.camel@revolution.hippie.lan> <20121101100814.GB70741@FreeBSD.org> Content-Type: text/plain; charset="us-ascii" Date: Thu, 01 Nov 2012 08:01:12 -0600 Message-ID: <1351778472.1120.117.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, Gleb Smirnoff , src-committers@FreeBSD.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2012 14:01:17 -0000 On Thu, 2012-11-01 at 10:42 +0000, Attilio Rao wrote: > On 11/1/12, Gleb Smirnoff wrote: > > On Wed, Oct 31, 2012 at 06:33:51PM +0000, Attilio Rao wrote: > > A> > Doesn't this padding to cache line size only help x86 processors in an > > A> > SMP kernel? I was expecting to see some #ifdef SMP so that we don't > > pay > > A> > a big price for no gain in small-memory ARM systems and such. But > > maybe > > A> > I'm misunderstanding the reason for the padding. > > A> > > A> I didn't want to do this because this would be meaning that SMP option > > A> may become a completely killer for modules/kernel ABI compatibility. > > > > Do we support loading non-SMP modules on SMP kernel and vice versa? > > Actually that's my point, we do. > > Attilio > > Well we've got other similar problems lurking then. What about a module compiled on an arm system that had #define CACHE_LINE_SIZE 32 and then it gets run on a different arm system whose kernel is compiled with #define CACHE_LINE_SIZE 64? -- Ian