Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964936Ab2J3RRO (ORCPT ); Tue, 30 Oct 2012 13:17:14 -0400 Received: from mail-vb0-f46.google.com ([209.85.212.46]:52764 "EHLO mail-vb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964823Ab2J3RRN (ORCPT ); Tue, 30 Oct 2012 13:17:13 -0400 MIME-Version: 1.0 In-Reply-To: <1351617192.8467.124.camel@gandalf.local.home> References: <1351611301-3520-1-git-send-email-fweisbec@gmail.com> <1351612350.8467.104.camel@gandalf.local.home> <1351617192.8467.124.camel@gandalf.local.home> Date: Tue, 30 Oct 2012 18:17:12 +0100 Message-ID: Subject: Re: [PATCH 0/2] irq_work: A couple fixes From: Frederic Weisbecker To: Steven Rostedt Cc: Peter Zijlstra , LKML , Ingo Molnar , Thomas Gleixner , Andrew Morton , Paul Gortmaker Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 605 Lines: 16 2012/10/30 Steven Rostedt : > On Tue, 2012-10-30 at 17:25 +0100, Frederic Weisbecker wrote: > >> No I was worried about the cpu_relax() in irq_work_sync() > > That one is fine too, as this is the purpose of cpu_relax(). Not only to > relax the cpu, but also to tell gcc that the loop needs to be reread. Ok, should be fine then. Thanks! -- 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/