Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752401AbZIYGve (ORCPT ); Fri, 25 Sep 2009 02:51:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752281AbZIYGvc (ORCPT ); Fri, 25 Sep 2009 02:51:32 -0400 Received: from casper.infradead.org ([85.118.1.10]:43167 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752249AbZIYGvb (ORCPT ); Fri, 25 Sep 2009 02:51:31 -0400 Date: Fri, 25 Sep 2009 08:51:19 +0200 From: Arjan van de Ven To: Ingo Molnar Cc: "H. Peter Anvin" , Mathieu Desnoyers , Jason Baron , Thomas Gleixner , Steven Rostedt , Andi Kleen , linux-kernel@vger.kernel.org Subject: Re: Immediate values Message-ID: <20090925085119.2b77ea04@infradead.org> In-Reply-To: <20090924193422.GB2533@elte.hu> References: <20090924191642.GA19225@elte.hu> <20090924193422.GB2533@elte.hu> Organization: Intel X-Mailer: Claws Mail 3.7.2 (GTK+ 2.14.7; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1165 Lines: 34 On Thu, 24 Sep 2009 21:34:22 +0200 Ingo Molnar wrote: > > * H. Peter Anvin wrote: > > > I would like to get an official ACK or NAK for this patching > > technique from inside Intel, and preferrably from AMD as well. If > > it does work as described it would provide a very clean way to do > > one-shot alternative functions, which probably would be higher > > value than immediate data values. > > Sounds tempting. Things like the CONFIG_SECURITY hookery could use it? > > But ... since it's patched under stopmachine, is there any reason why > this wouldnt work? > stopmachine is fine. more aggressive tricks are rather dicey. (cross modifying code that's being executed in ring 0 is ... not something CPU designers had in mind) -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org -- 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/