xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* A question of grant table version
       [not found] <COL0-MC3-F306QBkCaJ000a785c@col0-mc3-f30.Col0.hotmail.com>
@ 2011-04-09  1:28 ` hotmaim
  2011-04-09  3:35   ` MaoXiaoyun
  2011-04-09  8:43   ` Ian Campbell
  0 siblings, 2 replies; 4+ messages in thread
From: hotmaim @ 2011-04-09  1:28 UTC (permalink / raw)
  To: xen-devel@lists.xensource.com

Hi

I have a question on grant table version.
In 2.6.31 pvops kernel, there is a gnttab_request_version to request using version 2.
But this cannot be found in 2.6.3236 pvops kernel, that is it uses version 1.

So, the fact is newer kernel use older grant table version, it doesn,t make sense to me.
Could someone comfirm it is on purpose?

Many thanks.

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

* RE: A question of grant table version
  2011-04-09  1:28 ` A question of grant table version hotmaim
@ 2011-04-09  3:35   ` MaoXiaoyun
  2011-04-09  3:37     ` MaoXiaoyun
  2011-04-09  8:43   ` Ian Campbell
  1 sibling, 1 reply; 4+ messages in thread
From: MaoXiaoyun @ 2011-04-09  3:35 UTC (permalink / raw)
  To: xen devel; +Cc: Mao Xiaoyun


[-- Attachment #1.1: Type: text/plain, Size: 1617 bytes --]


Also, it looks like some commit has been missed to apply to 2.6.32.36
 
grant-table.c history in 2.6.31 
http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=history;f=drivers/xen/grant-table.c;h=09bb7425cd46097b3d96feb342508069c610d78d;hb=bb1a15e55ec665a64c8a9c6bd699b1f16ac01ff4
 
below commit is not found in 2.6.32




2009-10-07
Steven Smith
Extend the grant tables implementation with an improved... 
blob | commitdiff | diff to current

2009-10-07
Steven Smith
Add support for transitive grants.
blob | commitdiff | diff to current

2009-10-07
Steven Smith
Add support for copy only (sub-page) grants.
blob | commitdiff | diff to current

2009-10-07
Steven Smith
Introduce support for version 2 grant tables. Use... 
blob | commitdiff | diff to current

2009-10-07
Steven Smith
Fix a long-standing memory leak in the grant tables... 
blob | commitdiff | diff to current

2009-10-07
Steven Smith
Introduce a live_maps facility for tracking which domai... 
blob | commitdiff | diff to current
 Am I right?
 
> Subject: A question of grant table version
> From: tinnycloud@hotmail.com
> Date: Sat, 9 Apr 2011 09:28:06 +0800
> To: xen-devel@lists.xensource.com
> 
> Hi
> 
> I have a question on grant table version.
> In 2.6.31 pvops kernel, there is a gnttab_request_version to request using version 2.
> But this cannot be found in 2.6.3236 pvops kernel, that is it uses version 1.
> 
> So, the fact is newer kernel use older grant table version, it doesn,t make sense to me.
> Could someone comfirm it is on purpose?
> 
> Many thanks.
 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 8717 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

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

* RE: A question of grant table version
  2011-04-09  3:35   ` MaoXiaoyun
@ 2011-04-09  3:37     ` MaoXiaoyun
  0 siblings, 0 replies; 4+ messages in thread
From: MaoXiaoyun @ 2011-04-09  3:37 UTC (permalink / raw)
  To: xen devel


[-- Attachment #1.1: Type: text/plain, Size: 2043 bytes --]


Sorry, this is grant-table.c history in 2.6.31 
http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=history;f=drivers/xen/grant-table.c;h=6c6f8848537aa240ae09dbb87a30927e06a0a044;hb=641c127b67b3b1a4f6a79b6189ed2189cec46012
 


From: tinnycloud@hotmail.com
To: xen-devel@lists.xensource.com
CC: tinnycloud@hotmail.com
Subject: RE: A question of grant table version
Date: Sat, 9 Apr 2011 11:35:33 +0800




Also, it looks like some commit has been missed to apply to 2.6.32.36
 
grant-table.c history in 2.6.31 
http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=history;f=drivers/xen/grant-table.c;h=09bb7425cd46097b3d96feb342508069c610d78d;hb=bb1a15e55ec665a64c8a9c6bd699b1f16ac01ff4
 
below commit is not found in 2.6.32




2009-10-07
Steven Smith
Extend the grant tables implementation with an improved... 
blob | commitdiff | diff to current

2009-10-07
Steven Smith
Add support for transitive grants.
blob | commitdiff | diff to current

2009-10-07
Steven Smith
Add support for copy only (sub-page) grants.
blob | commitdiff | diff to current

2009-10-07
Steven Smith
Introduce support for version 2 grant tables. Use... 
blob | commitdiff | diff to current

2009-10-07
Steven Smith
Fix a long-standing memory leak in the grant tables... 
blob | commitdiff | diff to current

2009-10-07
Steven Smith
Introduce a live_maps facility for tracking which domai... 
blob | commitdiff | diff to current
 Am I right?
 
> Subject: A question of grant table version
> From: tinnycloud@hotmail.com
> Date: Sat, 9 Apr 2011 09:28:06 +0800
> To: xen-devel@lists.xensource.com
> 
> Hi
> 
> I have a question on grant table version.
> In 2.6.31 pvops kernel, there is a gnttab_request_version to request using version 2.
> But this cannot be found in 2.6.3236 pvops kernel, that is it uses version 1.
> 
> So, the fact is newer kernel use older grant table version, it doesn,t make sense to me.
> Could someone comfirm it is on purpose?
> 
> Many thanks.
 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 10089 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

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

* Re: A question of grant table version
  2011-04-09  1:28 ` A question of grant table version hotmaim
  2011-04-09  3:35   ` MaoXiaoyun
@ 2011-04-09  8:43   ` Ian Campbell
  1 sibling, 0 replies; 4+ messages in thread
From: Ian Campbell @ 2011-04-09  8:43 UTC (permalink / raw)
  To: hotmaim; +Cc: xen-devel@lists.xensource.com

On Sat, 2011-04-09 at 02:28 +0100, hotmaim wrote:
> Hi
> 
> I have a question on grant table version.
> In 2.6.31 pvops kernel, there is a gnttab_request_version to request using version 2.
> But this cannot be found in 2.6.3236 pvops kernel, that is it uses version 1.
> 
> So, the fact is newer kernel use older grant table version, it doesn,t make sense to me.
> Could someone comfirm it is on purpose?

Unless you specifically need the new functionality of grant table v2
(transitive grants or sub page grants) there is no difference/benefit
between v1 and v2.

The only user of that new functionality was netchannel2, which has not
been carried forward from 2.6.31 and hence current kernels still use v1
grant tables with no loss of functionality.

People are working on introducing the interesting features of
netchannel2 as protocol extensions to netchannel1 and it is likely that
this will also involve reintroducing the use of grant table v2 in newer
kernels.

Ian.

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

end of thread, other threads:[~2011-04-09  8:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <COL0-MC3-F306QBkCaJ000a785c@col0-mc3-f30.Col0.hotmail.com>
2011-04-09  1:28 ` A question of grant table version hotmaim
2011-04-09  3:35   ` MaoXiaoyun
2011-04-09  3:37     ` MaoXiaoyun
2011-04-09  8:43   ` Ian Campbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).