From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261744AbULLFGi (ORCPT ); Sun, 12 Dec 2004 00:06:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261749AbULLFGg (ORCPT ); Sun, 12 Dec 2004 00:06:36 -0500 Received: from fsmlabs.com ([168.103.115.128]:54243 "EHLO fsmlabs.com") by vger.kernel.org with ESMTP id S261744AbULLFGf (ORCPT ); Sun, 12 Dec 2004 00:06:35 -0500 Date: Sat, 11 Dec 2004 22:06:16 -0700 (MST) From: Zwane Mwaikambo To: "Paul E. McKenney" cc: Andrew Morton , Stephen Rothwell , Linux Kernel , Dipankar Sarma , Li Shaohua , Len Brown Subject: Re: [PATCH] Remove RCU abuse in cpu_idle() In-Reply-To: Message-ID: References: <20041205004557.GA2028@us.ibm.com> <20041206111634.44d6d29c.sfr@canb.auug.org.au> <20041205232007.7edc4a78.akpm@osdl.org> <20041206160405.GB1271@us.ibm.com> <20041206192243.GC1435@us.ibm.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 11 Dec 2004, Zwane Mwaikambo wrote: > Introduce cpu_idle_wait() on architectures requiring modification of > pm_idle from modules, this will ensure that all processors have updated > their cached values of pm_idle upon exit. This patch is to address the bug > report at http://bugme.osdl.org/show_bug.cgi?id=1716 and replaces the > current code fix which is in violation of normal RCU usage as pointed out > by Stephen, Dipankar and Paul. Aargh, i shouldn't be programming whilst sick :( i'll repost a non broken version shortly.