Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753569AbZFEO4c (ORCPT ); Fri, 5 Jun 2009 10:56:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755045AbZFEO4C (ORCPT ); Fri, 5 Jun 2009 10:56:02 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:40402 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755955AbZFEO4B (ORCPT ); Fri, 5 Jun 2009 10:56:01 -0400 Date: Fri, 5 Jun 2009 07:54:43 -0700 (PDT) From: Linus Torvalds X-X-Sender: torvalds@localhost.localdomain To: Rusty Russell cc: Ingo Molnar , Nick Piggin , Jeremy Fitzhardinge , "H. Peter Anvin" , Thomas Gleixner , Linux Kernel Mailing List , Andrew Morton , Peter Zijlstra , Avi Kivity , Arjan van de Ven Subject: Re: [benchmark] 1% performance overhead of paravirt_ops on native kernels In-Reply-To: <200906051416.19311.rusty@rustcorp.com.au> Message-ID: References: <4A0B62F7.5030802@goop.org> <200906041554.37102.rusty@rustcorp.com.au> <200906051416.19311.rusty@rustcorp.com.au> User-Agent: Alpine 2.01 (LFD 1184 2008-12-16) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 775 Lines: 21 On Fri, 5 Jun 2009, Rusty Russell wrote: > > Distributions don't ship UP kernels any more; this shows what that costs if > you're actually on a UP box. If we really don't care, perhaps we should make > CONFIG_SMP=n an option under EMBEDDED for x86. And we can rip out the complex > patching SMP patching stuff too. The complex SMP patching is what makes it _possible_ to not ship UP kernels any more. The SMP overhead exists, but it would be even higher if we didn't patch things to remove the "lock" prefix. Linus -- 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/