From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764927AbYDYSK0 (ORCPT ); Fri, 25 Apr 2008 14:10:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1765988AbYDYSF7 (ORCPT ); Fri, 25 Apr 2008 14:05:59 -0400 Received: from mx2.mail.elte.hu ([157.181.151.9]:50580 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1765982AbYDYSF5 (ORCPT ); Fri, 25 Apr 2008 14:05:57 -0400 Date: Fri, 25 Apr 2008 20:04:51 +0200 From: Ingo Molnar To: Linus Torvalds Cc: Andi Kleen , Jiri Slaby , David Miller , zdenek.kabelac@gmail.com, rjw@sisk.pl, paulmck@linux.vnet.ibm.com, akpm@linux-foundation.org, linux-ext4@vger.kernel.org, herbert@gondor.apana.org.au, penberg@cs.helsinki.fi, clameter@sgi.com, linux-kernel@vger.kernel.org, Mathieu Desnoyers , pageexec@freemail.hu, "H. Peter Anvin" , Jeremy Fitzhardinge Subject: Re: [PATCH 1/1] x86: fix text_poke Message-ID: <20080425180451.GA3445@elte.hu> References: <20080425154854.GC3265@one.firstfloor.org> <20080425162215.GA16273@elte.hu> <20080425164509.GB19962@elte.hu> <20080425170237.GA24472@elte.hu> <20080425175333.GA25276@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080425175333.GA25276@elte.hu> User-Agent: Mutt/1.5.17 (2007-11-01) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Ingo Molnar wrote: > yeah, it's done 2800 times on my box with a distro .config. > > no strong feeling either way - but i dont think there's any cross-CPU > TLB flush done in this case within vmap()/vunmap(). Why? Because when > alternative_instructions() runs then we have just a single CPU in > cpu_online_map. i mean, alternatives_smp_switch(). Ingo