diff options
author | Adrian Calianu <adrian.calianu@enea.com> | 2017-09-27 14:21:23 +0200 |
---|---|---|
committer | Adrian Calianu <adrian.calianu@enea.com> | 2017-09-27 14:21:23 +0200 |
commit | 6648e3d9e21ae6101ace65b0b8361bae403fc9ff (patch) | |
tree | 2f3a6a8a34194cf18f19577444adfd5f41609d38 /patches/boot_time_opt_guest/0152-x86-kvm-Notify-host-to-release-pages.patch | |
parent | 8420473021892d96192f053b23537bf6efc79b0c (diff) | |
download | enea-kernel-cache-6648e3d9e21ae6101ace65b0b8361bae403fc9ff.tar.gz |
fix boot_time_opt patch for guest
Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
Diffstat (limited to 'patches/boot_time_opt_guest/0152-x86-kvm-Notify-host-to-release-pages.patch')
-rw-r--r-- | patches/boot_time_opt_guest/0152-x86-kvm-Notify-host-to-release-pages.patch | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/patches/boot_time_opt_guest/0152-x86-kvm-Notify-host-to-release-pages.patch b/patches/boot_time_opt_guest/0152-x86-kvm-Notify-host-to-release-pages.patch index ff9d8c0..5f44930 100644 --- a/patches/boot_time_opt_guest/0152-x86-kvm-Notify-host-to-release-pages.patch +++ b/patches/boot_time_opt_guest/0152-x86-kvm-Notify-host-to-release-pages.patch | |||
@@ -132,18 +132,18 @@ index c1095cdc0fe2..d8ae774fa042 100644 | |||
132 | { | 132 | { |
133 | .procname = "compact_memory", | 133 | .procname = "compact_memory", |
134 | diff --git a/mm/Makefile b/mm/Makefile | 134 | diff --git a/mm/Makefile b/mm/Makefile |
135 | index 295bd7a9f76b..651ce0aff140 100644 | 135 | index 295bd7a..6455723 100644 |
136 | --- a/mm/Makefile | 136 | --- a/mm/Makefile |
137 | +++ b/mm/Makefile | 137 | +++ b/mm/Makefile |
138 | @@ -37,7 +37,7 @@ obj-y := filemap.o mempool.o oom_kill.o \ | 138 | @@ -47,6 +47,8 @@ else |
139 | mm_init.o mmu_context.o percpu.o slab_common.o \ | 139 | obj-y += bootmem.o |
140 | compaction.o vmacache.o \ | 140 | endif |
141 | interval_tree.o list_lru.o workingset.o \ | ||
142 | - prfile.o debug.o $(mmu-y) | ||
143 | + prfile.o debug.o kvm.o $(mmu-y) | ||
144 | |||
145 | obj-y += init-mm.o | ||
146 | 141 | ||
142 | +obj-y += kvm.o | ||
143 | + | ||
144 | obj-$(CONFIG_ADVISE_SYSCALLS) += fadvise.o | ||
145 | ifdef CONFIG_MMU | ||
146 | obj-$(CONFIG_ADVISE_SYSCALLS) += madvise.o | ||
147 | diff --git a/mm/kvm.c b/mm/kvm.c | 147 | diff --git a/mm/kvm.c b/mm/kvm.c |
148 | new file mode 100644 | 148 | new file mode 100644 |
149 | index 000000000000..8945f6a311b9 | 149 | index 000000000000..8945f6a311b9 |