Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: xen: gnttab: process gentabs in reverse order
The Xen extends domain gentab region every time domain requests gentab basing on gentab idx. If idx > xen_current_max_gentab_idx the Xen extends number of gentabs so that idx <= xen_current_max_gentab_idx. As result now when gentabs are requested from gentab low_idx to max_idx Xen is performing gentab extension by 1 and the bunch of log messages is produced: (XEN) xen-source/xen/common/grant_table.c:1909:d0v0 Expanding d0 \ grant table from 1 to 2 frames This patch changes gentab processing from gentab max_idx to low_idx which allows Xen to perform gentab extension only once (to max_idx) and only one message will be produced in the log: (XEN) xen-source/xen/common/grant_table.c:1909:d0v0 Expanding d0 \ grant table from 1 to 64 frames Signed-off-by: Grygorii Strashko <[email protected]>
- Loading branch information