diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-01-29 16:40:48 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-01-29 16:40:48 +0000 |
commit | 441959385830ac73376a0502b036fa1de4e660fd (patch) | |
tree | 0ea59596e844d0c6015ec337b383e1f1683111b6 /xen/include/xen/grant_table.h | |
parent | 597edba986d2516dfa478f5c4ec34325da49283b (diff) | |
download | xen-441959385830ac73376a0502b036fa1de4e660fd.tar.gz xen-441959385830ac73376a0502b036fa1de4e660fd.tar.bz2 xen-441959385830ac73376a0502b036fa1de4e660fd.zip |
PoD: Check refcount, not type count when reclaiming zero pages
Check the page refcount rather than the type count when deciding if a
page is still mapped.
This catches pages which are mapped by qemu; it also removes the need
for gnttab_is_granted().
Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Diffstat (limited to 'xen/include/xen/grant_table.h')
-rw-r--r-- | xen/include/xen/grant_table.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/xen/include/xen/grant_table.h b/xen/include/xen/grant_table.h index 85a7c17592..d0e8040a19 100644 --- a/xen/include/xen/grant_table.h +++ b/xen/include/xen/grant_table.h @@ -147,7 +147,4 @@ nr_active_grant_frames(struct grant_table *gt) return num_act_frames_from_sha_frames(nr_grant_frames(gt)); } -int -gnttab_is_granted(struct domain *d, xen_pfn_t gfn, int order); - #endif /* __XEN_GRANT_TABLE_H__ */ |