From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753777AbYIEUK2 (ORCPT ); Fri, 5 Sep 2008 16:10:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751524AbYIEUKS (ORCPT ); Fri, 5 Sep 2008 16:10:18 -0400 Received: from terminus.zytor.com ([198.137.202.10]:58726 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751167AbYIEUKQ (ORCPT ); Fri, 5 Sep 2008 16:10:16 -0400 Message-ID: <48C1912E.3070407@zytor.com> Date: Fri, 05 Sep 2008 13:06:06 -0700 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: Ingo Molnar CC: Linus Torvalds , Jan Beulich , linux@sandersweb.net, Andi Kleen , Arjan van de Ven , Thomas Gleixner , Linux Kernel Mailing List Subject: Re: [BUG] x86 kenel won't boot under Virtual PC References: <200808311422.12525.linux@sandersweb.net> <20080831122751.72afafb5@infradead.org> <200809051138.20615.linux@sandersweb.net> <48C17754.76E4.0078.0@novell.com> <20080905184353.GA29496@elte.hu> In-Reply-To: <20080905184353.GA29496@elte.hu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ingo Molnar wrote: > * Linus Torvalds wrote: > >> - Move the optimized nop definitions (K7_NOPx etc) to the only place that >> cares - asm/x86/kernel/alternative.c. When we do things _dynamically_, >> it can actually make sense to pick a nop more precisely, but for this >> whole static thing it's just a pain. >> >> IOW, if it actually _worked_ reasonably, I wouldn't care. But clearly >> it doesn't. And once it's not working reasonably, it should be fixed. > > yes - we had 3-4 tries already and while it looked worthwile initially > it's clearly not showing signs of getting more robust and whatever > benefits there might be slightly better NOPs is dwarved by all these > robustness problems. Peter? There is already a fix for this based on a first-principles test in tip. -hpa