From mboxrd@z Thu Jan 1 00:00:00 1970 From: Auke Kok Subject: Re: [PATCH 15/26] e100: reduce time under spinlock Date: Tue, 29 Aug 2006 15:10:47 -0700 Message-ID: <44F4BB67.4000604@intel.com> References: <20060829164153.6872.1713.stgit@gitlost.site> <20060829164448.6872.18583.stgit@gitlost.site> <44F4A9B8.9050407@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, akpm@osdl.org, "Brandeburg, Jesse" , "Kok, Auke" , "Ronciak, John" Return-path: Received: from mga03.intel.com ([143.182.124.21]:46923 "EHLO azsmga101-1.ch.intel.com") by vger.kernel.org with ESMTP id S965258AbWH2Wa5 (ORCPT ); Tue, 29 Aug 2006 18:30:57 -0400 To: Jeff Garzik In-Reply-To: <44F4A9B8.9050407@pobox.com> Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Jeff Garzik wrote: > Kok, Auke wrote: >> We're waiting for a write flush to finish before unlocking, which >> is not needed. Release the spinlock after the write command. >> >> Signed-off-by: Auke Kok > > This undoes the following change: ack, not good. Dropped it from the tree. Auke > > > commit ad8c48ad3bbef078616ed4d2652d362dfd962f09 > Author: Catalin(ux aka Dino) BOIE > Date: Sat Mar 4 12:18:59 2006 -0500 > > Fix io ordering problems in e100 > > Checking e100.c code against Documentation/io_ordering.txt I found the > following problem: > > spin_lock_irq... > write > spin-unlock > e100_write_flush > > The attached patch fix the code like this: > > spin_lock_irq... > write > e100_write_flush > spin-unlock > > Signed-off-by: Catalin BOIE > Signed-off-by: Jeff Garzik