From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751910AbYIWLsK (ORCPT ); Tue, 23 Sep 2008 07:48:10 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751170AbYIWLr4 (ORCPT ); Tue, 23 Sep 2008 07:47:56 -0400 Received: from host254-130-static.190-82-b.business.telecomitalia.it ([82.190.130.254]:58000 "EHLO nausicaa2.coritel.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751007AbYIWLr4 (ORCPT ); Tue, 23 Sep 2008 07:47:56 -0400 Message-ID: <48D8D7C9.5000602@coritel.it> Date: Tue, 23 Sep 2008 13:49:29 +0200 From: Marco Stornelli Organization: CoRiTeL User-Agent: Thunderbird 2.0.0.16 (X11/20080720) MIME-Version: 1.0 To: Randy Dunlap Cc: mtk.manpages@gmail.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] documentation: xip documentation update References: <48D76770.9000808@coritel.it> <20080922083050.3ec7b7e9.rdunlap@xenotime.net> In-Reply-To: <20080922083050.3ec7b7e9.rdunlap@xenotime.net> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Marco Stornelli Fix xip documentation with the comments of Randy Dunlap. Signed-off-by: Marco Stornelli --- --- linux-2.6.26.3/Documentation/filesystems/xip.txt.orig 2008-08-20 20:11:37.000000000 +0200 +++ linux-2.6.26.3/Documentation/filesystems/xip.txt 2008-09-23 13:45:42.000000000 +0200 @@ -39,10 +39,11 @@ The block device operation is optional, today: - dcssblk: s390 dcss block device driver -An address space operation named get_xip_page is used to retrieve reference -to a struct page. To address the target page, a reference to an address_space, -and a sector number is provided. A 3rd argument indicates whether the -function should allocate blocks if needed. +An address space operation named get_xip_mem is used to retrieve reference +to a page frame number and a kernel address. To obtain these values a reference +to an address_space is provided. This function assigns values to the kmem and +pfn parameters. The 3rd argument indicates whether the function should allocate +blocks if needed. This address space operation is mutually exclusive with readpage&writepage that do page cache read/write operations. Randy Dunlap ha scritto: > On Mon, 22 Sep 2008 11:37:52 +0200 Marco Stornelli wrote: > >> From: Marco Stornelli >> >> xip documentation updated >> Signed-off-by: Marco Stornelli >> --- >> >> --- linux-2.6.26.5/Documentation/filesystems/xip.txt.orig 2008-08-20 20:11:37.000000000 +0200 >> +++ linux-2.6.26.5/Documentation/filesystems/xip.txt 2008-09-22 11:27:46.000000000 +0200 >> @@ -39,10 +39,11 @@ The block device operation is optional, >> today: >> - dcssblk: s390 dcss block device driver >> >> -An address space operation named get_xip_page is used to retrieve reference >> -to a struct page. To address the target page, a reference to an address_space, >> -and a sector number is provided. A 3rd argument indicates whether the >> -function should allocate blocks if needed. >> +An address space operation named get_xip_mem is used to retrieve reference >> +to a page frame number and a kernel address. To obtain these values a reference >> +to an address_space is provided. This function is in charge to assign values to > > How about: > This function assigns values to the kmem and > pfn parameters. > >> +the pointers kmem and pfn. The 3rd argument indicates whether the function >> +should allocate blocks if needed. >> >> This address space operation is mutually exclusive with readpage&writepage that >> do page cache read/write operations. > > > Thanks. > > --- > ~Randy >