From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754354AbbCaOx2 (ORCPT ); Tue, 31 Mar 2015 10:53:28 -0400 Received: from casper.infradead.org ([85.118.1.10]:44442 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752972AbbCaOxX (ORCPT ); Tue, 31 Mar 2015 10:53:23 -0400 Date: Tue, 31 Mar 2015 16:53:12 +0200 From: Peter Zijlstra To: Viresh Kumar Cc: Ingo Molnar , Thomas Gleixner , linaro-kernel@lists.linaro.org, linux-kernel@vger.kernel.org, Steven Miao Subject: Re: [PATCH 1/2] timer: Avoid waking up an idle-core by migrate running timer Message-ID: <20150331145312.GI23123@twins.programming.kicks-ass.net> References: <80182e47a7103608d2ddab7f62c0c3dffc99fdcc.1427782893.git.viresh.kumar@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <80182e47a7103608d2ddab7f62c0c3dffc99fdcc.1427782893.git.viresh.kumar@linaro.org> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 31, 2015 at 12:25:16PM +0530, Viresh Kumar wrote: > Cc: Steven Miao > +#define TIMER_FLAG_MASK 0x7LU So Steven, this will break compilation on blackfin because that makes ____cacheline_aligned a NOP while we assume it will generate __attribute__((__aligned__(SMP_CACHE_BYTES))) with the further assumption that SMP_CACHE_BYTES >= 8. Can you explain why blackfin chooses to break ____cacheline_align for UP? We have the *_in_smp variants to distinguish these cases.