Displaying 8 results from an estimated 8 matches for "map_ref".
Did you mean:
map_refs
2014 Mar 10
0
[PATCH] xen/grant-table: Refactor gnttab_[un]map_refs to avoid m2p_override
On 27/02/14 15:55, Zoltan Kiss wrote:
> (This is a continuation of "[PATCH v9] xen/grant-table: Avoid m2p_override
> during mapping")
>
> The grant mapping API does m2p_override unnecessarily: only gntdev needs it,
> for blkback and future netback patches it just cause a lock contention, as
> those pages never go to userspace. Therefore this series does the following:
2014 Feb 27
3
[PATCH] xen/grant-table: Refactor gnttab_[un]map_refs to avoid m2p_override
...pfn, page->index);
if (kmap_op != NULL) {
if (!PageHighMem(page)) {
struct multicall_space mcs;
diff --git a/drivers/xen/grant-table.c b/drivers/xen/grant-table.c
index b84e3ab..6d325bd 100644
--- a/drivers/xen/grant-table.c
+++ b/drivers/xen/grant-table.c
@@ -933,9 +933,6 @@ int gnttab_map_refs(struct gnttab_map_grant_ref *map_ops,
struct page **pages, unsigned int count)
{
int i, ret;
- bool lazy = false;
- pte_t *pte;
- unsigned long mfn;
ret = HYPERVISOR_grant_table_op(GNTTABOP_map_grant_ref, map_ops, count);
if (ret)
@@ -947,45 +944,7 @@ int gnttab_map_refs(struct gnt...
2014 Feb 27
3
[PATCH] xen/grant-table: Refactor gnttab_[un]map_refs to avoid m2p_override
...pfn, page->index);
if (kmap_op != NULL) {
if (!PageHighMem(page)) {
struct multicall_space mcs;
diff --git a/drivers/xen/grant-table.c b/drivers/xen/grant-table.c
index b84e3ab..6d325bd 100644
--- a/drivers/xen/grant-table.c
+++ b/drivers/xen/grant-table.c
@@ -933,9 +933,6 @@ int gnttab_map_refs(struct gnttab_map_grant_ref *map_ops,
struct page **pages, unsigned int count)
{
int i, ret;
- bool lazy = false;
- pte_t *pte;
- unsigned long mfn;
ret = HYPERVISOR_grant_table_op(GNTTABOP_map_grant_ref, map_ops, count);
if (ret)
@@ -947,45 +944,7 @@ int gnttab_map_refs(struct gnt...
2005 Sep 08
1
1.0alpha1: another imap core, no assert
...;_tview_lookup_uid_range>,
lookup_first = 0x4f584 <_tview_lookup_first>,
lookup_ext_full = 0x4f688 <_tview_lookup_ext_full>,
get_header_ext = 0x4f870 <_tview_get_header_ext>}, index = 0xa9328, log_view = 0xb37f8,
indexid = 1124149513, map = 0xac940, new_map = 0x0, map_refs = 0xa21a0, hdr = {
major_version = 7 '\a', minor_version = 0 '\0', base_header_size = 120, header_size = 200,
record_size = 40, compat_data = "\000\b\004", indexid = 1124149513, flags = 2,
uid_validity = 1122257472, next_uid = 271, messages_count = 31, recent_...
2006 May 22
1
beta8: cores on corrupted index file
...FUNCTION__.5370+16>, lookup_full = 0,
lookup_uid = 0xbc494, lookup_uid_range = 0xffbff3d0,
lookup_first = 0x59934 <mail_index_sync_commit+184>, lookup_ext_full = 0,
get_header_ext = 0xbde9c}, index = 0xbc460, log_view = 0x0, indexid = 4,
map = 0xbde9c, sync_new_map = 0xbcb18, map_refs = {buffer = 0xbdeb4,
element_size = 757560}, hdr = {major_version = 0 '\0',
minor_version = 12 '\f', base_header_size = 15224, header_size = 801664,
record_size = 753608, compat_flags = 68 'D', unused = "o??", indexid = 1,
flags = 0, uid_validity =...
2005 Dec 14
0
Assertion Failure in Current CVS Version
...id_range>,
lookup_first = 0x808e210 <_view_lookup_first>,
lookup_ext_full = 0x808d9a0 <_view_lookup_ext_full>,
get_header_ext = 0x808e140 <_view_get_header_ext>}, index = 0x80ce000,
log_view = 0x80e2e58, indexid = 1122493952, map = 0x80cf020, new_map = 0x0,
map_refs = 0x0, hdr = {major_version = 7 '\a', minor_version = 0 '\0',
base_header_size = 120, header_size = 200, record_size = 40,
compat_data = "\001\b\004", indexid = 1122493952, flags = 0,
uid_validity = 1130429256, next_uid = 5142, messages_count = 1913,
r...
2009 Aug 03
13
kernel BUG at arch/x86/xen/multicalls.c:103!
Hi,
I have this bug when I activate java-6-jdk on Tomcat 5.5.26 in a Lenny Guest :
Jul 31 21:24:15 tomcat01 kernel: 1 multicall(s) failed: cpu 3
Jul 31 21:24:15 tomcat01 kernel: call 1/1: op=14 arg=[b7f1a000] result=-22
Jul 31 21:24:15 tomcat01 kernel: ------------[ cut here ]------------
Jul 31 21:24:15 tomcat01 kernel: kernel BUG at arch/x86/xen/multicalls.c:103!
Jul 31 21:24:15 tomcat01
2012 Apr 10
7
[PATCH v3 1/2] xen: enter/exit lazy_mmu_mode around m2p_override calls
...ddr |
(req->u.rw.seg[i].first_sect << 9);
}
+ arch_leave_lazy_mmu_mode();
return ret;
}
diff --git a/drivers/xen/grant-table.c b/drivers/xen/grant-table.c
index b4d4eac..c7dc2d6 100644
--- a/drivers/xen/grant-table.c
+++ b/drivers/xen/grant-table.c
@@ -751,6 +751,8 @@ int gnttab_map_refs(struct gnttab_map_grant_ref *map_ops,
if (xen_feature(XENFEAT_auto_translated_physmap))
return ret;
+ arch_enter_lazy_mmu_mode();
+
for (i = 0; i < count; i++) {
/* Do not add to override if the map failed. */
if (map_ops[i].status)
@@ -769,6 +771,8 @@ int gnttab_map_refs(struct...