search for: gntpin_hstw_mask

Displaying 3 results from an estimated 3 matches for "gntpin_hstw_mask".

2007 Oct 03
0
[PATCH 3/3] TLB flushing and IO memory mapping
...gt;frame, mfn_to_page(op->frame)) && + iomem_access_permitted(ld, op->frame, op->frame) ) + { + if ( (rc = iomem_deny_access(ld, op->frame, op->frame)) < 0 ) + goto unmap_out; + } ASSERT(act->pin & (GNTPIN_hstw_mask | GNTPIN_hstr_mask)); op->map->flags &= ~GNTMAP_host_map; @@ -499,7 +528,7 @@ __gnttab_unmap_common( act->pin -= GNTPIN_hstr_inc; else act->pin -= GNTPIN_hstw_inc; - } + } /* If just unmapped a writable mapping, mark as dirti...
2012 May 25
0
[PATCH 3/3] gnttab: cleanup
..._table, op->ref); + status = &status_entry(rgt, op->ref); } /* If already pinned, check the active domid and avoid refcnt overflow. */ @@ -568,8 +570,8 @@ __gnttab_map_grant_ref( (!(op->flags & GNTMAP_readonly) && !(act->pin & (GNTPIN_hstw_mask|GNTPIN_devw_mask))) ) { - if ( (rc = _set_status(rd->grant_table->gt_version, - ld->domain_id, op->flags & GNTMAP_readonly, + if ( (rc = _set_status(rgt->gt_version, ld->domain_id, + op->flags &a...
2007 Mar 20
62
RFC: [0/2] Remove netloop by lazy copying in netback
Hi Keir: These two patches remove the need for netloop by performing the copying in netback and only if it is necessary. The rationale is that most packets will be processed without delay allowing them to be freed without copying at all. So instead of copying every packet destined to dom0 we''ll only copy those that linger longer than a specified amount of time (currently 0.5s). As it