Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759245AbYF1XRE (ORCPT ); Sat, 28 Jun 2008 19:17:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752456AbYF1XQw (ORCPT ); Sat, 28 Jun 2008 19:16:52 -0400 Received: from terminus.zytor.com ([198.137.202.10]:36025 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752381AbYF1XQv (ORCPT ); Sat, 28 Jun 2008 19:16:51 -0400 Message-ID: <4866C62A.2060808@zytor.com> Date: Sat, 28 Jun 2008 16:15:54 -0700 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: Anders H Kaseorg CC: Thomas Gleixner , Ingo Molnar , linux-kernel@vger.kernel.org Subject: Re: [PATCH] x86_64: Patch paravirt inline replacements when loading modules References: <4866BBC0.3000503@zytor.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 964 Lines: 23 Anders H Kaseorg wrote: > On Sat, 28 Jun 2008, H. Peter Anvin wrote: >> Not having looked at this in detail, is this a *current* problem or a >> *future* problem, i.e. does it fix a bug that's currently in the kernel? > > It's a current problem. The current situation is that .parainstructions > are patched into the kernel core and modules on i386, but only the > kernel core on x86_64. This results in a slight performance regression > in x86_64 modules, compared to the situation before .parainstructions > existed. My patch restores full performance of x86_64 modules. OK, it's a performance regression. I don't think it makes sense for 2.6.26, but it should definitely go into 2.6.27. Thanks! -hpa -- 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/