Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946429AbXBCK0H (ORCPT ); Sat, 3 Feb 2007 05:26:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1946431AbXBCK0H (ORCPT ); Sat, 3 Feb 2007 05:26:07 -0500 Received: from mx2.suse.de ([195.135.220.15]:47231 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1946429AbXBCK0F (ORCPT ); Sat, 3 Feb 2007 05:26:05 -0500 From: Andi Kleen To: "Eric W. Biederman" Subject: Re: [PATCH 2/2] x86_64 irq: Handle irqs pending in IRR during irq migration. Date: Sat, 3 Feb 2007 11:26:01 +0100 User-Agent: KMail/1.9.5 Cc: Andrew Morton , linux-kernel@vger.kernel.org, "Lu, Yinghai" , "Luigi Genoni" , Ingo Molnar , Natalie Protasevich References: <200701221116.13154.luigi.genoni@pirelli.com> <200702031101.22313.ak@suse.de> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200702031126.01483.ak@suse.de> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 847 Lines: 22 On Saturday 03 February 2007 11:22, Eric W. Biederman wrote: > Andi Kleen writes: > > >> Once the migration operation is complete we know we will receive > >> no more interrupts on this vector so the irq pending state for > >> this irq will no longer be updated. If the irq is not pending and > >> we are in the intermediate state we immediately free the vector, > >> otherwise in we free the vector in do_IRQ when the pending irq > >> arrives. > > > > Ok for me, although the magic numbers are a little nasty. > > You must be talking about (vector/32) *0x10. No I meant the -1s -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/