mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-02 18:34:58 +00:00
In 4.10.5 and 4.9.17 include a fix for the VMBus memory leak, cherry-picked from char-misc: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/commit/?h=char-misc-linus&id=5e030d5ce9d99a899b648413139ff65bab12b038 This patch was tested with the 4.10.5 kernel and the Hyper-V Socket stress test. It was forwarded to stable@vger to be included in one of the next stable releases. Also remove the CPU ACCT revert as 17.03.1-rc1 is out and has a fix Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
31 lines
1004 B
Diff
31 lines
1004 B
Diff
From 81ffd549906270aec7cf38aa098f8f0296c4fe92 Mon Sep 17 00:00:00 2001
|
|
From: Rolf Neugebauer <rolf.neugebauer@gmail.com>
|
|
Date: Mon, 23 May 2016 18:55:45 +0100
|
|
Subject: [PATCH 2/8] vmbus: Don't spam the logs with unknown GUIDs
|
|
|
|
With Hyper-V sockets device types are introduced on the fly. The pr_info()
|
|
then prints a message on every connection, which is way too verbose. Since
|
|
there doesn't seem to be an easy way to check for registered services,
|
|
disable the pr_info() completely.
|
|
|
|
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
|
|
---
|
|
drivers/hv/channel_mgmt.c | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c
|
|
index cb9531541a12..eec03051da78 100644
|
|
--- a/drivers/hv/channel_mgmt.c
|
|
+++ b/drivers/hv/channel_mgmt.c
|
|
@@ -192,7 +192,6 @@ static u16 hv_get_dev_type(const struct vmbus_channel *channel)
|
|
if (!uuid_le_cmp(*guid, vmbus_devs[i].guid))
|
|
return i;
|
|
}
|
|
- pr_info("Unknown GUID: %pUl\n", guid);
|
|
return i;
|
|
}
|
|
|
|
--
|
|
2.11.0
|
|
|