public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] documentation: xip documentation update
@ 2008-09-22  9:37 Marco Stornelli
  2008-09-22 15:30 ` Randy Dunlap
  0 siblings, 1 reply; 4+ messages in thread
From: Marco Stornelli @ 2008-09-22  9:37 UTC (permalink / raw)
  To: mtk.manpages, rdunlap, linux-doc; +Cc: linux-kernel

From: Marco Stornelli <marco.stornelli@gmail.com>

xip documentation updated
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
---

--- 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
+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.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] documentation: xip documentation update
  2008-09-22  9:37 [PATCH] documentation: xip documentation update Marco Stornelli
@ 2008-09-22 15:30 ` Randy Dunlap
  2008-09-23  7:03   ` Marco Stornelli
  2008-09-23 11:49   ` Marco Stornelli
  0 siblings, 2 replies; 4+ messages in thread
From: Randy Dunlap @ 2008-09-22 15:30 UTC (permalink / raw)
  To: Marco Stornelli; +Cc: mtk.manpages, linux-doc, linux-kernel

On Mon, 22 Sep 2008 11:37:52 +0200 Marco Stornelli wrote:

> From: Marco Stornelli <marco.stornelli@gmail.com>
> 
> xip documentation updated
> Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
> ---
> 
> --- 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] documentation: xip documentation update
  2008-09-22 15:30 ` Randy Dunlap
@ 2008-09-23  7:03   ` Marco Stornelli
  2008-09-23 11:49   ` Marco Stornelli
  1 sibling, 0 replies; 4+ messages in thread
From: Marco Stornelli @ 2008-09-23  7:03 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: mtk.manpages, linux-doc, linux-kernel

Ok, have I to submit the patch again with this new line?

Randy Dunlap ha scritto:
> On Mon, 22 Sep 2008 11:37:52 +0200 Marco Stornelli wrote:
> 
>> From: Marco Stornelli <marco.stornelli@gmail.com>
>>
>> xip documentation updated
>> Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
>> ---
>>
>> --- 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
> 

-- 
Marco Stornelli
Embedded Software Engineer
CoRiTeL - Consorzio di Ricerca sulle Telecomunicazioni
http://www.coritel.it

marco.stornelli@coritel.it
+39 06 72582838

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] documentation: xip documentation update
  2008-09-22 15:30 ` Randy Dunlap
  2008-09-23  7:03   ` Marco Stornelli
@ 2008-09-23 11:49   ` Marco Stornelli
  1 sibling, 0 replies; 4+ messages in thread
From: Marco Stornelli @ 2008-09-23 11:49 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: mtk.manpages, linux-doc, linux-kernel

From: Marco Stornelli <marco.stornelli@gmail.com>

Fix xip documentation with the comments of Randy Dunlap.
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
---

--- 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 <marco.stornelli@gmail.com>
>>
>> xip documentation updated
>> Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
>> ---
>>
>> --- 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
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-09-23 11:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-22  9:37 [PATCH] documentation: xip documentation update Marco Stornelli
2008-09-22 15:30 ` Randy Dunlap
2008-09-23  7:03   ` Marco Stornelli
2008-09-23 11:49   ` Marco Stornelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox