Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261335AbVCOPn1 (ORCPT ); Tue, 15 Mar 2005 10:43:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261350AbVCOPn1 (ORCPT ); Tue, 15 Mar 2005 10:43:27 -0500 Received: from rwcrmhc11.comcast.net ([204.127.198.35]:12233 "EHLO rwcrmhc11.comcast.net") by vger.kernel.org with ESMTP id S261335AbVCOPnM (ORCPT ); Tue, 15 Mar 2005 10:43:12 -0500 X-Comment: AT&T Maillennium special handling code - c Subject: Re: [RFC][PATCH] new timeofday core subsystem (v. A3) From: Albert Cahalan To: Christoph Lameter Cc: Albert Cahalan , Matt Mackall , john stultz , lkml , Tim Schmielau , George Anzinger , Ulrich Windl , Dominik Brodowski , David Mosberger , Andi Kleen , paulus@samba.org, schwidefsky@de.ibm.com, keith maanthey , Patricia Gaughen , Chris McDermott , Max Asbock , mahuja@us.ibm.com, Nishanth Aravamudan , Darren Hart , "Darrick J. Wong" , Anton Blanchard , donf@us.ibm.com In-Reply-To: References: <1110590655.30498.327.camel@cog.beaverton.ibm.com> <20050313004902.GD3163@waste.org> <1110825765.30498.370.camel@cog.beaverton.ibm.com> <20050314192918.GC32638@waste.org> <1110829401.30498.383.camel@cog.beaverton.ibm.com> <20050314195110.GD32638@waste.org> <1110830647.30498.388.camel@cog.beaverton.ibm.com> <20050314202702.GF32638@waste.org> <1110852973.1967.180.camel@cube> Content-Type: text/plain Date: Tue, 15 Mar 2005 10:23:54 -0500 Message-Id: <1110900235.7893.207.camel@cube> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1015 Lines: 26 On Mon, 2005-03-14 at 19:22 -0800, Christoph Lameter wrote: > On Mon, 14 Mar 2005, Albert Cahalan wrote: > > > When the vsyscall page is created, copy the one needed function > > into it. The kernel is already self-modifying in many places; this > > is nothing new. > > AFAIK this will only works on ia32 and x86_64 and not definitely not > on ia64. Who knows about the other platforms .... I'll bet it does work fine on IA-64. If it didn't, you would be unable to load the kernel or load an executable. I know it works for PowerPC. You'll need an isync instruction of course. You may also want a sync instruction and some code to invalidate the cache. Setting up the page content should be a 1-time operation done at boot. Check your processor manuals as needed. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/