Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030330AbWA0UEg (ORCPT ); Fri, 27 Jan 2006 15:04:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030338AbWA0UEg (ORCPT ); Fri, 27 Jan 2006 15:04:36 -0500 Received: from [85.8.13.51] ([85.8.13.51]:34521 "EHLO smtp.drzeus.cx") by vger.kernel.org with ESMTP id S1030330AbWA0UEf (ORCPT ); Fri, 27 Jan 2006 15:04:35 -0500 Message-ID: <43DA7CD1.4040301@drzeus.cx> Date: Fri, 27 Jan 2006 21:04:33 +0100 From: Pierre Ossman User-Agent: Thunderbird 1.5 (X11/20060112) MIME-Version: 1.0 To: Pierre Ossman , Jens Axboe , LKML Subject: Re: How to map high memory for block io References: <43D9C19F.7090707@drzeus.cx> <20060127102611.GC4311@suse.de> <43D9F705.5000403@drzeus.cx> <20060127104321.GE4311@suse.de> <43DA0E97.5030504@drzeus.cx> <20060127194318.GA1433@flint.arm.linux.org.uk> In-Reply-To: <20060127194318.GA1433@flint.arm.linux.org.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 786 Lines: 22 Russell King wrote: > > I don't see what the problem is. A sg entry is a list of struct page > pointers, an offset, and a size. As such, it can't describe a transfer > which crosses a page because such a structure does not imply that one > struct page follows another struct page. > > If the pages do not strictly follow each other then there is a lot of broken code in the kernel. drivers/mmc/mmci.c and drivers/block/ub.c being two occurences since both assume they can access the entire entry through a single mapping. Rgds Pierre - 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/