Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751716AbWLMWsW (ORCPT ); Wed, 13 Dec 2006 17:48:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751717AbWLMWsW (ORCPT ); Wed, 13 Dec 2006 17:48:22 -0500 Received: from terminus.zytor.com ([192.83.249.54]:37291 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751716AbWLMWsV (ORCPT ); Wed, 13 Dec 2006 17:48:21 -0500 Message-ID: <4580827F.8080703@zytor.com> Date: Wed, 13 Dec 2006 14:45:19 -0800 From: "H. Peter Anvin" User-Agent: Thunderbird 1.5.0.8 (X11/20061107) MIME-Version: 1.0 To: Dave Jones , "H. Peter Anvin" , Rudolf Marek , norsk5@xmission.com, lkml , LM Sensors , bluesmoke-devel@lists.sourceforge.net Subject: Re: [RFC] new MSR r/w functions per CPU References: <45807469.6040609@assembler.cz> <20061213221026.GF2418@redhat.com> <45807C88.6060807@zytor.com> <20061213222616.GJ2418@redhat.com> In-Reply-To: <20061213222616.GJ2418@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 798 Lines: 19 Dave Jones wrote: > > Can you explain this a little further? I'm fairly certain > there are places in the kernel already doing this (or similar). > In fact, I cut-n-pasted most of the above from similar code in the > powernow-k8 driver. What exactly can we deadlock on? > I wanted to change the MSR driver to do the above, and Alan Cox objected that with realtime priority routines and/or user set affinity, that code might never be executed, so I retained the IPI-based code (which executes at the target processor at interrupt priority.) -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/