usbip: hide "Not yet implemented" message to improve performance

QubesOS/qubes-issues#531
This commit is contained in:
Marek Marczykowski-Górecki 2016-05-17 07:01:27 +02:00
parent eaa1f57699
commit 69126ad1cf
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,17 @@
vhci_get_frame_number is called really often for USB cameras and this message
alone is responsible for major performance drop. Since the driver seems to
function ok, simply disable the message for now.
diff --git a/drivers/usb/usbip/vhci_hcd.c b/drivers/usb/usbip/vhci_hcd.c
index 7fbe19d..313a79b 100644
--- a/drivers/usb/usbip/vhci_hcd.c
+++ b/drivers/usb/usbip/vhci_hcd.c
@@ -928,7 +928,7 @@ static void vhci_stop(struct usb_hcd *hcd)
static int vhci_get_frame_number(struct usb_hcd *hcd)
{
- pr_err("Not yet implemented\n");
+ //pr_err("Not yet implemented\n");
return 0;
}

View File

@ -11,6 +11,8 @@ patches.xen/irq-bind-debug-log.patch
patches.xen/pvops-blkfront-removable-flag.patch
patches.xen/pvops-blkfront-eject-support.patch
patches.qubes/usbip-disable-not-implemented-error.patch
# Security fixes
patches.xen/xsa155-linux-0008-xen-Add-RING_COPY_RESPONSE.patch
patches.xen/xsa155-linux44-0009-xen-netfront-copy-response-out-of-shared-buffer-befo.patch