summaryrefslogtreecommitdiff
path: root/lib/lru_cache.c
diff options
context:
space:
mode:
authorJulien Grall <julien.grall@citrix.com>2015-10-13 19:50:13 +0300
committerDavid Vrabel <david.vrabel@citrix.com>2015-10-23 16:20:47 +0300
commit89bf4b4e4a8d9ab219cd03aada24e782cf0ac359 (patch)
treeb4ca7d378810e5321d78178f15c46e77effc8c87 /lib/lru_cache.c
parentf73314b28148f9ee9f89a0ae961c8fb36e3269fa (diff)
downloadlinux-89bf4b4e4a8d9ab219cd03aada24e782cf0ac359.tar.xz
xenbus: Support multiple grants ring with 64KB
The PV ring may use multiple grants and expect them to be mapped contiguously in the virtual memory. Although, the current code is relying on a Linux page will be mapped to a single grant. On build where Linux is using a different page size than the grant (i.e other than 4KB), the grant will always be mapped on the first 4KB of each Linux page which make the final ring not contiguous in the memory. This can be fixed by mapping multiple grant in a same Linux page. Signed-off-by: Julien Grall <julien.grall@citrix.com> Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'lib/lru_cache.c')
0 files changed, 0 insertions, 0 deletions