Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262421AbUJ0PVg (ORCPT ); Wed, 27 Oct 2004 11:21:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262497AbUJ0PRi (ORCPT ); Wed, 27 Oct 2004 11:17:38 -0400 Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:65200 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id S262465AbUJ0PPQ (ORCPT ); Wed, 27 Oct 2004 11:15:16 -0400 Message-ID: <417FBB6D.90401@pobox.com> Date: Wed, 27 Oct 2004 11:14:53 -0400 From: Jeff Garzik User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040922 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Linux Kernel , linux-mm@kvack.org CC: Bartlomiej Zolnierkiewicz , "Randy.Dunlap" , William Lee Irwin III , Jens Axboe Subject: Re: news about IDE PIO HIGHMEM bug (was: Re: 2.6.9-mm1) References: <58cb370e041027074676750027@mail.gmail.com> In-Reply-To: <58cb370e041027074676750027@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 758 Lines: 23 Bartlomiej Zolnierkiewicz wrote: > We have stuct page of the first page and a offset. > We need to obtain struct page of the current page and map it. Opening this question to a wider audience. struct scatterlist gives us struct page*, and an offset+length pair. The struct page* is the _starting_ page of a potentially multi-page run of data. The question: how does one get struct page* for the second, and successive pages in a known-contiguous multi-page run, if one only knows the first page? 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/