mm: disallow MEMF_no_refcount to be passed for domain-owned allocations
authorJan Beulich <jbeulich@suse.com>
Fri, 23 Nov 2018 11:08:09 +0000 (12:08 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 23 Nov 2018 11:08:09 +0000 (12:08 +0100)
commitd13e07df79a1ee209dcbe02c52b59ced6210b826
treed2b038bce73190d2baea1aae59fcdf154d8e97b7
parentc861674f3bae2dcdac333057385290dfc7b0dc6a
mm: disallow MEMF_no_refcount to be passed for domain-owned allocations

When such pages get assigned to domains (and hence their ->tot_pages
not incremented accordingly) we would otherwise also need to suppress
decrementing the count when freeing those pages.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/common/page_alloc.c