From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261395AbULTCbJ (ORCPT ); Sun, 19 Dec 2004 21:31:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261400AbULTCbI (ORCPT ); Sun, 19 Dec 2004 21:31:08 -0500 Received: from rproxy.gmail.com ([64.233.170.195]:19153 "EHLO rproxy.gmail.com") by vger.kernel.org with ESMTP id S261395AbULTCau (ORCPT ); Sun, 19 Dec 2004 21:30:50 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=Xwl2oJQKxWiKdtR5Pquauonnld2MSAB/lN3qHB3MHrq8b+Rv7U+kklzUPrki5T0oUBBbfxP4bUnXXlwMc+hiV+ZK5unpYhBdFkdWwy1BbEW3cCyzHbOKyzK8PcfsTj5ItxvzXbIvW+J4xgvSOQey5Xczgr64u6p5k5mMRGWSEG8= Message-ID: <29495f1d04121918305f577eb7@mail.gmail.com> Date: Sun, 19 Dec 2004 18:30:47 -0800 From: Nish Aravamudan Reply-To: Nish Aravamudan To: Zwane Mwaikambo Subject: Re: [PATCH] Remove RCU abuse in cpu_idle() Cc: Nick Piggin , "Paul E. McKenney" , Andrew Morton , Stephen Rothwell , Linux Kernel , Dipankar Sarma , Li Shaohua , Len Brown In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20041205004557.GA2028@us.ibm.com> <29495f1d04121818403f949fdd@mail.gmail.com> <1103505344.5093.4.camel@npiggin-nld.site> <1103507784.5093.9.camel@npiggin-nld.site> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 19 Dec 2004 19:10:31 -0700 (MST), Zwane Mwaikambo wrote: > On Mon, 20 Dec 2004, Nick Piggin wrote: > > > On Sun, 2004-12-19 at 18:44 -0700, Zwane Mwaikambo wrote: > > > On Mon, 20 Dec 2004, Nick Piggin wrote: > > > > > > > This thread can possibly be stalled forever if there is a CPU hog > > > > running, right? > > > > > > Yep. > > > > > > > In which case, you will want to use ssleep rather than a busy loop. > > > > > > Well ssleep essentially does the same thing as the schedule_timeout. > > > > > > > Yes - so long as you set ->state when using schedule_timeout ;) > > Nish could you please submit something to switch it to ssleep? Yup, I'll send it out tomorrow. -Nish