From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261574AbULBHGj (ORCPT ); Thu, 2 Dec 2004 02:06:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261572AbULBHGi (ORCPT ); Thu, 2 Dec 2004 02:06:38 -0500 Received: from gate.crashing.org ([63.228.1.57]:64169 "EHLO gate.crashing.org") by vger.kernel.org with ESMTP id S261566AbULBHGV (ORCPT ); Thu, 2 Dec 2004 02:06:21 -0500 Subject: Re: page fault scalability patch V12 [0/7]: Overview and performance tests From: Benjamin Herrenschmidt To: Jeff Garzik Cc: Andrew Morton , Linus Torvalds , Linux Kernel list , list linux-ide In-Reply-To: <41AEBD95.7030804@pobox.com> References: <41AEB44D.2040805@pobox.com> <20041201223441.3820fbc0.akpm@osdl.org> <41AEBD95.7030804@pobox.com> Content-Type: text/plain Date: Thu, 02 Dec 2004 18:05:48 +1100 Message-Id: <1101971149.5593.64.camel@gaston> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2004-12-02 at 02:00 -0500, Jeff Garzik wrote: > > 2.6.9: > bitbang ATA taskfile registers > queue_work() > workqueue thread bitbangs ATA data register (read id page) > > So I wonder if doesn't like CPU 0 sending I/O traffic to the > on-board SATA PCI device, then immediately after that, CPU 1 sending I/O > traffic. > > Anyway, back to debugging... :) They may not end up in order if they are stores (the stores to the taskfile may be out of order vs; the loads/stores to/from the data register) unless you have a spinlock protecting both or a full sync (on ppc), but then, I don't know the ordering things on x86_64. This could certainly be a problem on ppc & ppc64 too. Ben.