Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759918AbYHVJda (ORCPT ); Fri, 22 Aug 2008 05:33:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753552AbYHVJdT (ORCPT ); Fri, 22 Aug 2008 05:33:19 -0400 Received: from one.firstfloor.org ([213.235.205.2]:47454 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750992AbYHVJdS (ORCPT ); Fri, 22 Aug 2008 05:33:18 -0400 Date: Fri, 22 Aug 2008 11:35:18 +0200 From: Andi Kleen To: "H. Peter Anvin" Cc: Andi Kleen , "H. Peter Anvin" , Dave Jones , Vegard Nossum , the arch/x86 maintainers , Linux Kernel Mailing List , Rusty Russell Subject: Re: latest -git: WARNING: at arch/x86/kernel/ipi.c:123 send_IPI_mask_bitmask+0xc3/0xe0() Message-ID: <20080822093518.GK23334@one.firstfloor.org> References: <19f34abd0808191251x4eb61c50n13ecf7c90f0f3d9f@mail.gmail.com> <20080820013930.GN9807@one.firstfloor.org> <19f34abd0808192326jc10e758m99e76bbd5714c5b8@mail.gmail.com> <20080822003659.GA7581@redhat.com> <48AE20B8.9000204@kernel.org> <20080822022841.GG23334@one.firstfloor.org> <48AE5BB8.5080701@zytor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48AE5BB8.5080701@zytor.com> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1040 Lines: 23 > We still need the equivalent functionality, though. The midlayer > (msr_on_cpu) may be pointless, but that doesn't change the fact that > putting this functionality in the lower layer (smp_call_function_single) > makes more sense. Assuming you can actually have interrupts enabled at these point and be otherwise ready to do call_function_simple (e.g. cpu hotplug locking etc.) For a lot of MSR accesses in more complicated subsystems like cpufreq that requires complications. I would think for many circumstances it's better to simply set affinity of the thread before at a higher level. In hindsight I think it was my mistake to ever merge that. I admit I never liked it, but just merged it because I wasn't able to come up with a strong enough counter argument back then. -Andi -- 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/