diff options
author | Julien Grall <julien.grall@citrix.com> | 2015-05-05 16:54:12 +0100 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-10-23 14:20:42 +0100 |
commit | 5995a68a6272e4e8f4fe4de82cdc877e650fe8be (patch) | |
tree | 2699b77a0e00a61dfb0a1d3eb65b4645a67274a8 /lib/strnlen_user.c | |
parent | d0089e8a0e4c9723d85b01713671358e3d6960df (diff) |
xen/privcmd: Add support for Linux 64KB page granularity
The hypercall interface (as well as the toolstack) is always using 4KB
page granularity. When the toolstack is asking for mapping a series of
guest PFN in a batch, it expects to have the page map contiguously in
its virtual memory.
When Linux is using 64KB page granularity, the privcmd driver will have
to map multiple Xen PFN in a single Linux page.
Note that this solution works on page granularity which is a multiple of
4KB.
Signed-off-by: Julien Grall <julien.grall@citrix.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'lib/strnlen_user.c')
0 files changed, 0 insertions, 0 deletions