|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] limit of grant table entries
I tried to do gnttab_grant_foreign_access() to grant access of certain pages to another domain. But after my code runs for a while, I will not be able to do gnttab_grant_foreign_access() successfully and the error code is -ENOSPC. This seems to show that grant table has no
free entries. At that time, I have call this function for 2039 times.
But question is: sometimes, my system does need to grant a lot of pages to another domain, the limit of grant table seems to be a serious limitation.
Another thing is: according to the xen code, 8 pages are used to store grant table entries. Each entry is 8 bytes long, so we should be able to allocate 4096 entries. Why I got error message when I only allocated 2039 entries?
Can someone please give me an idea on how to fix this problem? Many thanks!
-lily
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] limit of grant table entries,
Lily Huang <=
|
|
|
|
|