mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 04:18:39 +08:00
49f8b459fc
Instead of a virtual kernel address use a pointer of the associated struct page as second parameter of gnttab_end_foreign_access(). Most users have that pointer available already and are creating the virtual address from it, risking problems in case the memory is located in highmem. gnttab_end_foreign_access() itself won't need to get the struct page from the address again. Suggested-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Juergen Gross <jgross@suse.com> |
||
---|---|---|
.. | ||
arm | ||
interface | ||
acpi.h | ||
balloon.h | ||
events.h | ||
features.h | ||
grant_table.h | ||
hvc-console.h | ||
hvm.h | ||
mem-reservation.h | ||
page.h | ||
pci.h | ||
platform_pci.h | ||
swiotlb-xen.h | ||
xen-front-pgdir-shbuf.h | ||
xen-ops.h | ||
xen.h | ||
xenbus_dev.h | ||
xenbus.h |