From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754352AbaK0Kpa (ORCPT ); Thu, 27 Nov 2014 05:45:30 -0500 Received: from www.linutronix.de ([62.245.132.108]:55603 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750882AbaK0Kp2 (ORCPT ); Thu, 27 Nov 2014 05:45:28 -0500 Date: Thu, 27 Nov 2014 11:44:50 +0100 (CET) From: Thomas Gleixner To: Jiang Liu cc: Bjorn Helgaas , Benjamin Herrenschmidt , Ingo Molnar , "H. Peter Anvin" , "Rafael J. Wysocki" , Randy Dunlap , Yinghai Lu , Borislav Petkov , x86@kernel.org, Konrad Rzeszutek Wilk , Andrew Morton , Tony Luck , Joerg Roedel , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-acpi@vger.kernel.org, Daniel J Blueman Subject: Re: [Patch Part3 v4 37/38] x86, irq: Introduce mechanism to support different vector allocation policies In-Reply-To: <1416901802-24211-38-git-send-email-jiang.liu@linux.intel.com> Message-ID: References: <1416901802-24211-1-git-send-email-jiang.liu@linux.intel.com> <1416901802-24211-38-git-send-email-jiang.liu@linux.intel.com> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 25 Nov 2014, Jiang Liu wrote: > Introduce mechanism to support different vector allocation policies, > so platform or user may choose the best suitable CPU vector allocation I've postponed this and the next patch for 3.20. > policy. Currently two policies are supported: > 1) allocate CPU vector from cpumask_of_node(dev_to_node(dev)) > 2) allocate from apic->target_cpus(), this is the default policy > > Platform driver may call set_vector_alloc_policy() to choose the > preferred policies. > > This mechanism may be used to support NumaConnect systems to allocate > CPU vectors from device local node. So these policies are system wide and need to be selected at boot time? Thanks, tglx