diff options
| author | johnlev <none@none> | 2008-03-27 14:09:21 -0700 |
|---|---|---|
| committer | johnlev <none@none> | 2008-03-27 14:09:21 -0700 |
| commit | 5b1df0b52166fd52a6824b3c1e3c6d4ae6cfb42d (patch) | |
| tree | 78e9ba8749679c4d9931be39f9a09ba6ea2db5e1 /usr/src | |
| parent | af7034cac24b105583e0829a1609e8373415c16c (diff) | |
| download | illumos-joyent-5b1df0b52166fd52a6824b3c1e3c6d4ae6cfb42d.tar.gz | |
6650717 3.2: hat_devload() of Xen heap pages panics domains
Diffstat (limited to 'usr/src')
| -rw-r--r-- | usr/src/uts/common/xen/os/gnttab.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/src/uts/common/xen/os/gnttab.c b/usr/src/uts/common/xen/os/gnttab.c index a8e49feec0..3722152b6c 100644 --- a/usr/src/uts/common/xen/os/gnttab.c +++ b/usr/src/uts/common/xen/os/gnttab.c @@ -553,7 +553,7 @@ gnttab_map(void) if (HYPERVISOR_memory_op(XENMEM_add_to_physmap, &xatp) != 0) panic("Couldn't map grant table"); hat_devload(kas.a_hat, va, MMU_PAGESIZE, pfn, - PROT_READ | PROT_WRITE, + PROT_READ | PROT_WRITE | HAT_STORECACHING_OK, HAT_LOAD | HAT_LOAD_LOCK | HAT_LOAD_NOCONSIST); va += MMU_PAGESIZE; } @@ -592,7 +592,8 @@ gnttab_init(void) MMU_PAGESIZE, 0, 0, 0, 0, VM_SLEEP); for (i = 0; i < set.nr_frames; i++) { hat_devload(kas.a_hat, (caddr_t)GT_PGADDR(i), PAGESIZE, - xen_assign_pfn(frames[i]), PROT_READ | PROT_WRITE, + xen_assign_pfn(frames[i]), + PROT_READ | PROT_WRITE | HAT_STORECACHING_OK, HAT_LOAD_LOCK); } #endif |
