Revert "ANDROID: KVM: arm64: memory balloon: Notify hyp when ballooning"
This reverts commit f019fbcac2.
The unnecessarily generic mem_relinquish api is being replaced with
something specific to virtio_balloon.
Bug: 315173520
Bug: 357781595
Change-Id: I94cccd60c520562e98bdb7131cb5804185222143
Signed-off-by: Keir Fraser <keirf@google.com>
This commit is contained in:
@@ -43,7 +43,6 @@
|
||||
#include <linux/err.h>
|
||||
#include <linux/fs.h>
|
||||
#include <linux/list.h>
|
||||
#include <linux/mem_relinquish.h>
|
||||
|
||||
/*
|
||||
* Balloon device information descriptor.
|
||||
@@ -96,7 +95,6 @@ static inline void balloon_page_insert(struct balloon_dev_info *balloon,
|
||||
__SetPageMovable(page, &balloon_mops);
|
||||
set_page_private(page, (unsigned long)balloon);
|
||||
list_add(&page->lru, &balloon->pages);
|
||||
page_relinquish(page);
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -141,7 +139,6 @@ static inline void balloon_page_insert(struct balloon_dev_info *balloon,
|
||||
{
|
||||
__SetPageOffline(page);
|
||||
list_add(&page->lru, &balloon->pages);
|
||||
page_relinquish(page);
|
||||
}
|
||||
|
||||
static inline void balloon_page_delete(struct page *page)
|
||||
|
||||
Reference in New Issue
Block a user