Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262724AbUJ0Vgx (ORCPT ); Wed, 27 Oct 2004 17:36:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262692AbUJ0VdH (ORCPT ); Wed, 27 Oct 2004 17:33:07 -0400 Received: from havoc.gtf.org ([69.28.190.101]:65173 "EHLO havoc.gtf.org") by vger.kernel.org with ESMTP id S262724AbUJ0VbN (ORCPT ); Wed, 27 Oct 2004 17:31:13 -0400 Date: Wed, 27 Oct 2004 17:31:11 -0400 From: Jeff Garzik To: Andrew Morton Cc: mbligh@aracnet.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, bzolnier@gmail.com, rddunlap@osdl.org, wli@holomorphy.com, axboe@suse.de Subject: Re: [PATCH] Re: news about IDE PIO HIGHMEM bug (was: Re: 2.6.9-mm1) Message-ID: <20041027213111.GA13627@havoc.gtf.org> References: <58cb370e041027074676750027@mail.gmail.com> <417FBB6D.90401@pobox.com> <1246230000.1098892359@[10.10.2.4]> <1246750000.1098892883@[10.10.2.4]> <417FCE4E.4080605@pobox.com> <20041027142914.197c72ed.akpm@osdl.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041027142914.197c72ed.akpm@osdl.org> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 928 Lines: 25 On Wed, Oct 27, 2004 at 02:29:14PM -0700, Andrew Morton wrote: > spose so. The scatterlist API is being a bit silly there. Well, it depends on your perspective :) Each scatterlist entry is supposed to map to a physical segment to be passed to h/w. Hardware S/G tables just want to see a addr/len pair, and don't care about machine page size. scatterlist follows a similar model. dma_map_sg() and other helpers create a favorable situation, where >90% of the drivers don't have to care about the VM-size details. Unfortunately those drivers that need need to do their own data transfer (like ATA's PIO, instead of DMA) need direct access to each member of an s/g list. Jeff - 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/