From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758612AbZAHPpp (ORCPT ); Thu, 8 Jan 2009 10:45:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751265AbZAHPpg (ORCPT ); Thu, 8 Jan 2009 10:45:36 -0500 Received: from relay3.sgi.com ([192.48.171.31]:53358 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750780AbZAHPpf (ORCPT ); Thu, 8 Jan 2009 10:45:35 -0500 Message-ID: <49661F8B.5070103@sgi.com> Date: Thu, 08 Jan 2009 07:45:15 -0800 From: Mike Travis User-Agent: Thunderbird 2.0.0.6 (X11/20070801) MIME-Version: 1.0 To: Yinghai Lu CC: Ingo Molnar , Rusty Russell , Thomas Gleixner , "H. Peter Anvin" , Jack Steiner , linux-kernel@vger.kernel.org, Chris Wright , Jeremy Fitzhardinge , KOSAKI Motohiro , Venkatesh Pallipadi , virtualization@lists.osdl.org, xen-devel@lists.xensource.com Subject: Re: [PATCH 1/5] cpumask: update irq_desc to use cpumask_var_t References: <20090107195832.265117000@polaris-admin.engr.sgi.com> <20090107195832.465094000@polaris-admin.engr.sgi.com> <86802c440901071227n2d110757ye1bd12e689502ebc@mail.gmail.com> <49652D92.8020105@sgi.com> <49656FCF.9090602@kernel.org> In-Reply-To: <49656FCF.9090602@kernel.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Yinghai Lu wrote: ... >> Or am I missing your point? > > static void init_copy_one_irq_desc(int irq, struct irq_desc *old_desc, > struct irq_desc *desc, int cpu) > { > memcpy(desc, old_desc, sizeof(struct irq_desc)); > > > will overwrite new_desc->affinity and pending_mask > > YH Yup, apparently I was missing your point (banging on head once more). Thanks for spotting this! Ingo - what's the state of tip/cpus4096? Shall I push this as an append patch, or redo the original so bisectability works. Also, Yinghai - would you know of a straight forward way to test the irq migration? I have taken cpus offline and back online but wasn't sure if any irq's were being moved off of cpu 0 which cannot be taken offline. Thanks, Mike