From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756935AbYCESOp (ORCPT ); Wed, 5 Mar 2008 13:14:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751648AbYCESOg (ORCPT ); Wed, 5 Mar 2008 13:14:36 -0500 Received: from netops-testserver-3-out.sgi.com ([192.48.171.28]:60124 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751351AbYCESOf (ORCPT ); Wed, 5 Mar 2008 13:14:35 -0500 From: akepner@sgi.com Date: Wed, 5 Mar 2008 10:13:07 -0800 To: James Bottomley Cc: Grant Grundler , Michael Ellerman , Tony Luck , Jesse Barnes , Jes Sorensen , Randy Dunlap , Roland Dreier , David Miller , Benjamin Herrenschmidt , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3 v3] dma: document dma_{un}map_{single|sg}_attrs() interface Message-ID: <20080305181307.GR17802@sgi.com> References: <20080228032448.GS11012@sgi.com> <20080229182504.GA18102@colo.lackof.org> <1204310276.4003.48.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1204310276.4003.48.camel@localhost.localdomain> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 29, 2008 at 12:37:56PM -0600, James Bottomley wrote: > .... > To be honest, I still don't like the name. SYNC_ON_WRITE is the SN2 > implementation. What it's actually doing is implementing strict > ordering semantics. I think it should really be > DMA_ATTR_STRICT_ORDERING (with a corresponding > DMA_ATTR_RELAXED_ORDERING).... I've been thinking about a new name, but don't like DMA_ATTR_STRICT_ORDERING. What I'm trying to do is to establish order (across a NUMA fabric) of DMA to different memory regions, i.e., DMA to memory region A forces all outstanding DMA (to memory regions B, C,....) to complete first. DMA_ATTR_STRICT_ORDERING sounds like a PCI thing to me, and this is a NUMA interconnect thing. -- Arthur