From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754886AbbETQHJ (ORCPT ); Wed, 20 May 2015 12:07:09 -0400 Received: from cantor2.suse.de ([195.135.220.15]:60917 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754196AbbETQHG (ORCPT ); Wed, 20 May 2015 12:07:06 -0400 Date: Wed, 20 May 2015 18:07:02 +0200 From: Borislav Petkov To: One Thousand Gnomes Cc: Ingo Molnar , Thomas Gleixner , Huang Rui , Len Brown , "Rafael J. Wysocki" , x86@kernel.org, linux-kernel@vger.kernel.org, Fengguang Wu , Aaron Lu , Tony Li , =?utf-8?B?RnLDqWTDqXJpYw==?= Weisbecker Subject: Re: [RFC PATCH 2/4] x86, mwaitt: introduce mwaitx idle with a configurable timer Message-ID: <20150520160702.GH3645@pd.tnic> References: <20150520085520.GA8566@gmail.com> <20150520091213.GA3645@pd.tnic> <20150520102258.GA21245@gmail.com> <20150520105032.GD3645@pd.tnic> <20150520111120.GA25215@gmail.com> <20150520112110.GG3645@pd.tnic> <20150520114125.GA31212@gmail.com> <20150520145122.GB10374@gmail.com> <20150520165558.24bf2483@lxorguk.ukuu.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20150520165558.24bf2483@lxorguk.ukuu.org.uk> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 20, 2015 at 04:55:58PM +0100, One Thousand Gnomes wrote: > > That's not what appears to be happening here though: the MWAITX will > > return after the timeout. > > > > Which isn't really useful unless we use it to drive timers. > > What about things like mdelay() ? It has an upper limit on the max timeout though: u32 TSC cycles. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. --