diff options
author | Jan Beulich <jbeulich@novell.com> | 2011-03-09 16:15:36 +0000 |
---|---|---|
committer | Jan Beulich <jbeulich@novell.com> | 2011-03-09 16:15:36 +0000 |
commit | 0778492204a0a63aa0657a4fe15dd9754ede704b (patch) | |
tree | f8a8aef45c6197a3251ccb20c35d77b4bc9e48ad /xen/include/asm-x86/mm.h | |
parent | be68c24351805ab7840ba13c6ac89dc1fc3e58f5 (diff) | |
download | xen-0778492204a0a63aa0657a4fe15dd9754ede704b.tar.gz xen-0778492204a0a63aa0657a4fe15dd9754ede704b.tar.bz2 xen-0778492204a0a63aa0657a4fe15dd9754ede704b.zip |
x86: run-time callers of map_pages_to_xen() must check for errors
Again, (out-of-memory) errors must not cause hypervisor crashes, and
hence ought to be propagated.
This also adjusts the cache attribute changing loop in
get_page_from_l1e() to not go through an unnecessary iteration. While
this could be considered mere cleanup, it is actually a requirement
for the subsequent now necessary error recovery path.
Also make a few functions static, easing the check for potential
callers needing adjustment.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/include/asm-x86/mm.h')
-rw-r--r-- | xen/include/asm-x86/mm.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/xen/include/asm-x86/mm.h b/xen/include/asm-x86/mm.h index 95d0c3ef0f..c93a022952 100644 --- a/xen/include/asm-x86/mm.h +++ b/xen/include/asm-x86/mm.h @@ -325,8 +325,6 @@ int free_page_type(struct page_info *page, unsigned long type, int preemptible); int _shadow_mode_refcounts(struct domain *d); -void cleanup_page_cacheattr(struct page_info *page); - int is_iomem_page(unsigned long mfn); void clear_superpage_mark(struct page_info *page); |