summarylogtreecommitdiffstats
path: root/vmmon.patch
blob: 7ab2588e8a43bf88132cc54188cb248f4d3ac03d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- a/vmmon/Makefile
+++ b/vmmon/Makefile
@@ -43,7 +43,11 @@
 endif
 
 
+ifdef KVERSION
+VM_UNAME = $(KVERSION)
+else
 VM_UNAME = $(shell uname -r)
+endif
 
 # Header directory for the running kernel
 ifdef LINUXINCLUDE
Fix from https://communities.vmware.com/t5/VMware-Workstation-Pro/Workstation-17-5-0-vmware-clk-spinning-on-CPU-when-Linux-VMs-are/m-p/2996282
--- a/vmmon-only/linux/hostif.c
+++ b/vmmon-only/linux/hostif.c
@@ -3351,7 +3351,7 @@
     * threads running in the monitor on all physical CPUs.
     */
 
-   if (rate > MIN_RATE) {
+   if (false) {
       if (!linuxState.fastClockThread) {
          struct task_struct *rtcTask;