Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S268171AbTGIKr5 (ORCPT ); Wed, 9 Jul 2003 06:47:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S268172AbTGIKr5 (ORCPT ); Wed, 9 Jul 2003 06:47:57 -0400 Received: from pc2-cwma1-4-cust86.swan.cable.ntl.com ([213.105.254.86]:21167 "EHLO lxorguk.ukuu.org.uk") by vger.kernel.org with ESMTP id S268171AbTGIKrx (ORCPT ); Wed, 9 Jul 2003 06:47:53 -0400 Subject: Re: [PATCH] idle using PNI monitor/mwait From: Alan Cox To: "Nakajima, Jun" Cc: Linus Torvalds , Linux Kernel Mailing List , "Saxena, Sunil" , "Mallick, Asit K" , "Pallipadi, Venkatesh" In-Reply-To: <3014AAAC8E0930438FD38EBF6DCEB5640201719C@fmsmsx407.fm.intel.com> References: <3014AAAC8E0930438FD38EBF6DCEB5640201719C@fmsmsx407.fm.intel.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Message-Id: <1057748386.6255.10.camel@dhcp22.swansea.linux.org.uk> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Date: 09 Jul 2003 11:59:47 +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 879 Lines: 19 On Maw, 2003-07-08 at 22:23, Nakajima, Jun wrote: > Hi Linus, > > Attached is a patch that enables PNI (Prescott New Instructions) > monitor/mwait in kernel idle (opcodes are now public). Basically MWAIT > is similar to hlt, but you can avoid IPI to wake up the processor > waiting. A write (by another processor) to the address range specified > by MONITOR would wake up the processor waiting on MWAIT. Is mwait dependant on cached cpu memory and the cache exclusivity logic or directly on the processor. In other words can I use mwait in future to wait for DMA to hit a given location ? - Im mostly thinking about debugging uses - 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/