From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-in-01.arcor-online.net (mail-in-07.arcor-online.net [151.189.21.47]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.arcor.de", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTP id BDDA267A3E for ; Wed, 20 Sep 2006 15:47:07 +1000 (EST) In-Reply-To: <1158710938.6002.223.camel@localhost.localdomain> References: <20060919222351.d27a1a06.sfr@canb.auug.org.au> <20060919182953.GK29167@austin.ibm.com> <1158707532.6002.171.camel@localhost.localdomain> <1158710938.6002.223.camel@localhost.localdomain> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <9F465EDA-8678-47DF-B3BA-0A4134A45D05@kernel.crashing.org> From: Segher Boessenkool Subject: Re: [POWERPC] convert string i/o operations to C Date: Wed, 20 Sep 2006 02:29:59 +0200 To: Benjamin Herrenschmidt Cc: Stephen Rothwell , paulus@samba.org, ppc-dev List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , >> Why? If "ns" <= 0 there is no I/O done... > > For the sake of being paranoid :) What happens on x86 if you do a > rep ; > insw with a 0 count ? Nothing, except wasting energy. Segher