]> xenbits.xensource.com Git - xen.git/commit
honor MEMF_no_refcount in alloc_heap_pages()
authorJan Beulich <jbeulich@suse.com>
Thu, 26 Feb 2015 12:58:54 +0000 (13:58 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 26 Feb 2015 12:58:54 +0000 (13:58 +0100)
commit17294e69c4cd299da7ba3ca8077e24be76bd61b1
tree06d77baa370e03c9a22f3e0897077a7cb3bbe057
parentd0a1403bfbb7e2f6c73ecaf4d3e8ece228c8d9ed
honor MEMF_no_refcount in alloc_heap_pages()

Non-anonymous allocations with this flag set should - for the purpose
of the availability check - be treated just like anonymous ones, as
they wouldn't lead to a reduction of ->outstanding_pages.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Tim Deegan <tim@xen.org>
xen/common/page_alloc.c