search for: gnttab_release_put_page_and_type

Displaying 1 result from an estimated 1 matches for "gnttab_release_put_page_and_type".

2007 Oct 03
0
[PATCH 3/3] TLB flushing and IO memory mapping
...ct active_grant_entry *act; struct grant_entry *sha; + int rc; BUG_ON(!d->is_dying); @@ -1595,7 +1625,12 @@ gnttab_release_mappings( { BUG_ON(!(act->pin & GNTPIN_hstw_mask)); act->pin -= GNTPIN_hstw_inc; - gnttab_release_put_page_and_type(mfn_to_page(act- >frame)); + + if ( iomem_page_test(act->frame, mfn_to_page(act- >frame)) && + iomem_access_permitted(rd, act->frame, act- >frame) ) + rc = iomem_deny_access(rd, act->frame, act->frame); +...