From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan Beulich" Subject: Re: [PATCH 3 of 8] xen: let the (credit) scheduler know about `node affinity` Date: Fri, 05 Oct 2012 15:25:58 +0100 Message-ID: <506F0A1602000078000A00F4@nat28.tlf.novell.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Dario Faggioli Cc: Andre Przywara , Ian Campbell , Marcus Granado , George Dunlap , Andrew Cooper , Juergen Gross , Anil Madhavapeddy , Ian Jackson , xen-devel@lists.xen.org, Matt Wilson , Daniel De Graaf List-Id: xen-devel@lists.xenproject.org >>> On 05.10.12 at 16:08, Dario Faggioli wrote: > @@ -287,22 +344,26 @@ static inline void > } > else > { > - cpumask_t idle_mask; > + cpumask_t idle_mask, balance_mask; Be _very_ careful about adding on-stack CPU mask variables (also further below): each one of them grows the stack frame by 512 bytes (when building for the current maximum of 4095 CPUs), which is generally too much; you may want to consider pre-allocated scratch space instead. Jan