]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xen/grant-table: Force to use v1 of grants.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 31 Dec 2013 14:44:06 +0000 (09:44 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 3 Jan 2014 19:55:16 +0000 (14:55 -0500)
commitc807c5a7e4669552e17d02679458af7856773fcb
treed581bb90488415e4ef57d5dcf66df977e0529f96
parent6f6c15ef912465b3aaafe709f39bd6026a8b3e72
xen/grant-table: Force to use v1 of grants.

We have the framework to use v2, but there are no backends that
actually use it. The end result is that on PV we use v2 grants
and on PVHVM v1. The v1 has a capacity of 512 grants per page while
the v2 has 256 grants per page. This means we lose about 50%
capacity - and if we want more than 16 VIFs (each VIF takes
512 grants), then we are hitting the max per guest of 32.

Oracle-bug: 16039922
CC: annie.li@oracle.com
CC: msw@amazon.com
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
drivers/xen/grant-table.c