Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753796Ab0ADSmd (ORCPT ); Mon, 4 Jan 2010 13:42:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753141Ab0ADSmc (ORCPT ); Mon, 4 Jan 2010 13:42:32 -0500 Received: from hera.kernel.org ([140.211.167.34]:52926 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751883Ab0ADSmb (ORCPT ); Mon, 4 Jan 2010 13:42:31 -0500 Message-ID: <4B42362F.7040302@kernel.org> Date: Mon, 04 Jan 2010 10:40:47 -0800 From: Yinghai Lu User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091130 SUSE/3.0.0-1.1.1 Thunderbird/3.0 MIME-Version: 1.0 To: "Eric W. Biederman" CC: Jesse Brandeburg , Ingo Molnar , Thomas Gleixner , "H. Peter Anvin" , "linux-kernel@vger.kernel.org" , Andrew Morton , NetDEV list , Jesse Brandeburg Subject: Re: Subject: [PATCH 1/2] x86: get back 15 vectors References: <4B347AEE.6030705@kernel.org> <20091228094707.GH24690@elte.hu> <4B398ECD.1080506@kernel.org> <4807377b1001031906s6b1ee576jc021da2642bb4147@mail.gmail.com> <4B415E73.1050801@kernel.org> <4B419113.1090204@kernel.org> In-Reply-To: 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 Content-Length: 989 Lines: 30 On 01/04/2010 08:18 AM, Eric W. Biederman wrote: > Yinghai Lu writes: > > This patch is wrong. > >> between FIRST_EXTERNAL_VECTOR (0x20) and FIRST_DEVICE_VECTOR (0x41) >> >> for 0x20 and 0x2f, we are safe be used_vectors will prevent it to use used one. > > We can not use any of 0x20 - 0x2f for ioapic irqs. We need the entire > priority level to ensure that the irq move cleanup ipi is of a lower > priority. > >> also try to reuse 0x30 to 0x3f after smp_affinity for irq[0,15] is changed to other cpu. > > There may be a point with 0x30 to 0x3f as I recall when those irqs come through a legacy > pic we need to reserve those vectors on all cpus. ok, I see. any reason that we can not use 0x40? Thanks Yinghai -- 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/