While looking at the grant table code I thought it should be possible
to have a smaller struct active_grant_entry. This approach should only
hit transitive grants with some negative performance effect, "normal"
grants should be not affected.
I'm not sure that the domid_to_domain() helper is something we really
want, though, so I'm sending out the series as RFC.
Juergen Gross (2):
xen: add domid_to_domain() helper
xen/gnttab: reduce size of struct active_grant_entry
xen/common/domain.c | 54 +++++++++++++++++++++++++---------------
xen/common/grant_table.c | 13 +++++-----
xen/include/xen/sched.h | 4 +++
3 files changed, 45 insertions(+), 26 deletions(-)
--
2.35.3